﻿// MT306




using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category3
{
  public class MT306 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagSequenceDefinition U0002;
    private static SwiftTagDefinition U0003;
    private static SwiftTagSubItemDefinition U0004;
    private static SwiftTagDefinition U0005;
    private static SwiftTagSubItemDefinition U0006;
    private static SwiftTagDefinition U0007;
    private static SwiftTagSubItemDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagDefinition U0010;
    private static SwiftTagSubItemDefinition U0011;
    private static SwiftTagDefinition U0012;
    private static SwiftTagDefinition U0013;
    private static SwiftTagSubItemDefinition U0014;
    private static SwiftTagDefinition U0015;
    private static SwiftTagSubItemDefinition U0016;
    private static SwiftTagDefinition U0017;
    private static SwiftTagSubItemDefinition U0018;
    private static SwiftTagDefinition U0019;
    private static SwiftTagSubItemDefinition U001A;
    private static SwiftTagDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagDefinition U001D;
    private static SwiftTagSubItemDefinition U001E;
    private static SwiftTagDefinition U001F;
    private static SwiftTagSubItemDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagDefinition U0084;
    private static SwiftTagSubItemDefinition U0086;
    private static SwiftTagChoiceDefinition U0087;
    private static SwiftTagDefinition U0088;
    private static SwiftTagSubItemDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagDefinition U008B;
    private static SwiftTagSubItemDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagSubItemDefinition U008F;
    private static SwiftTagChoiceDefinition U0090;
    private static SwiftTagDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagSubItemDefinition U0093;
    private static SwiftTagDefinition U0094;
    private static SwiftTagSubItemDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagDefinition U0097;
    private static SwiftTagSubItemDefinition U0098;
    private static SwiftTagChoiceDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagSubItemDefinition U009B;
    private static SwiftTagSubItemDefinition U009C;
    private static SwiftTagDefinition U009D;
    private static SwiftTagSubItemDefinition U009E;
    private static SwiftTagSubItemDefinition U009F;
    private static SwiftTagDefinition U0001U0002;
    private static SwiftTagSubItemDefinition U0002U0002;
    private static SwiftTagDefinition U0003U0002;
    private static SwiftTagSubItemDefinition U0004U0002;
    private static SwiftTagSubItemDefinition U0005U0002;
    private static SwiftTagSubItemDefinition U0006U0002;
    private static SwiftTagSubItemDefinition U0007U0002;
    private static SwiftTagSubItemDefinition U0008U0002;
    private static SwiftTagSubItemDefinition U000EU0002;
    private static SwiftTagDefinition U000FU0002;
    private static SwiftTagDefinition U0010U0002;
    private static SwiftTagSubItemDefinition U0011U0002;
    private static SwiftTagSequenceDefinition U0012U0002;
    private static SwiftTagDefinition U0013U0002;
    private static SwiftTagSubItemDefinition U0014U0002;
    private static SwiftTagDefinition U0015U0002;
    private static SwiftTagSubItemDefinition U0016U0002;
    private static SwiftTagDefinition U0017U0002;
    private static SwiftTagSubItemDefinition U0018U0002;
    private static SwiftTagDefinition U0019U0002;
    private static SwiftTagSubItemDefinition U001AU0002;
    private static SwiftTagDefinition U001BU0002;
    private static SwiftTagSubItemDefinition U001CU0002;
    private static SwiftTagSubItemDefinition U001DU0002;
    private static SwiftTagChoiceDefinition U001EU0002;
    private static SwiftTagDefinition U001FU0002;
    private static SwiftTagSubItemDefinition U007FU0002;
    private static SwiftTagDefinition U0080U0002;
    private static SwiftTagSubItemDefinition U0081U0002;
    private static SwiftTagSequenceDefinition U0082U0002;
    private static SwiftTagDefinition U0083U0002;
    private static SwiftTagSubItemDefinition U0084U0002;
    private static SwiftTagSubItemDefinition U0086U0002;
    private static SwiftTagDefinition U0087U0002;
    private static SwiftTagSubItemDefinition U0088U0002;
    private static SwiftTagDefinition U0089U0002;
    private static SwiftTagSubItemDefinition U008AU0002;
    private static SwiftTagSubItemDefinition U008BU0002;
    private static SwiftTagSequenceDefinition U008CU0002;
    private static SwiftTagChoiceDefinition U008DU0002;
    private static SwiftTagDefinition U008EU0002;
    private static SwiftTagSubItemDefinition U008FU0002;
    private static SwiftTagSubItemDefinition U0090U0002;
    private static SwiftTagDefinition U0091U0002;
    private static SwiftTagSubItemDefinition U0092U0002;
    private static SwiftTagSubItemDefinition U0093U0002;
    private static SwiftTagDefinition U0094U0002;
    private static SwiftTagSubItemDefinition U0095U0002;
    private static SwiftTagSubItemDefinition U0096U0002;
    private static SwiftTagDefinition U0097U0002;
    private static SwiftTagSubItemDefinition U0098U0002;
    private static SwiftTagSequenceDefinition U0099U0002;
    private static SwiftTagDefinition U009AU0002;
    private static SwiftTagSubItemDefinition U009BU0002;
    private static SwiftTagChoiceDefinition U009CU0002;
    private static SwiftTagDefinition U009DU0002;
    private static SwiftTagSubItemDefinition U009EU0002;
    private static SwiftTagSubItemDefinition U009FU0002;
    private static SwiftTagDefinition U0001U0003;
    private static SwiftTagSubItemDefinition U0002U0003;
    private static SwiftTagSubItemDefinition U0003U0003;
    private static SwiftTagDefinition U0004U0003;
    private static SwiftTagChoiceDefinition U0005U0003;
    private static SwiftTagDefinition U0006U0003;
    private static SwiftTagSubItemDefinition U0007U0003;
    private static SwiftTagSubItemDefinition U0008U0003;
    private static SwiftTagDefinition U000EU0003;
    private static SwiftTagSubItemDefinition U000FU0003;
    private static SwiftTagSubItemDefinition U0010U0003;
    private static SwiftTagDefinition U0011U0003;
    private static SwiftTagChoiceDefinition U0012U0003;
    private static SwiftTagDefinition U0013U0003;
    private static SwiftTagSubItemDefinition U0014U0003;
    private static SwiftTagSubItemDefinition U0015U0003;
    private static SwiftTagDefinition U0016U0003;
    private static SwiftTagSubItemDefinition U0017U0003;
    private static SwiftTagSubItemDefinition U0018U0003;
    private static SwiftTagDefinition U0019U0003;
    private static SwiftTagChoiceDefinition U001AU0003;
    private static SwiftTagDefinition U001BU0003;
    private static SwiftTagSubItemDefinition U001CU0003;
    private static SwiftTagSubItemDefinition U001DU0003;
    private static SwiftTagDefinition U001EU0003;
    private static SwiftTagSubItemDefinition U001FU0003;
    private static SwiftTagSubItemDefinition U007FU0003;
    private static SwiftTagDefinition U0080U0003;
    private static SwiftTagChoiceDefinition U0081U0003;
    private static SwiftTagDefinition U0082U0003;
    private static SwiftTagSubItemDefinition U0083U0003;
    private static SwiftTagSubItemDefinition U0084U0003;
    private static SwiftTagDefinition U0086U0003;
    private static SwiftTagSubItemDefinition U0087U0003;
    private static SwiftTagSubItemDefinition U0088U0003;
    private static SwiftTagDefinition U0089U0003;
    private static SwiftTagSubItemDefinition U008AU0003;
    private static SwiftTagSequenceDefinition U008BU0003;
    private static SwiftTagDefinition U008CU0003;
    private static SwiftTagSubItemDefinition U008DU0003;
    private static SwiftTagDefinition U008EU0003;
    private static SwiftTagSubItemDefinition U008FU0003;
    private static SwiftTagDefinition U0090U0003;
    private static SwiftTagSubItemDefinition U0091U0003;
    private static SwiftTagDefinition U0092U0003;
    private static SwiftTagSubItemDefinition U0093U0003;
    private static SwiftTagDefinition U0094U0003;
    private static SwiftTagSubItemDefinition U0095U0003;
    private static SwiftTagSubItemDefinition U0096U0003;
    private static SwiftTagDefinition U0097U0003;
    private static SwiftTagSubItemDefinition U0098U0003;
    private static SwiftTagDefinition U0099U0003;
    private static SwiftTagSubItemDefinition U009AU0003;
    private static SwiftTagSubItemDefinition U009BU0003;
    private static SwiftTagSequenceDefinition U009CU0003;
    private static SwiftTagDefinition U009DU0003;
    private static SwiftTagSubItemDefinition U009EU0003;
    private static SwiftTagDefinition U009FU0003;
    private static SwiftTagSubItemDefinition U0001U0004;
    private static SwiftTagSubItemDefinition U0002U0004;
    private static SwiftTagDefinition U0003U0004;
    private static SwiftTagSubItemDefinition U0004U0004;
    private static SwiftTagChoiceDefinition U0005U0004;
    private static SwiftTagDefinition U0006U0004;
    private static SwiftTagSubItemDefinition U0007U0004;
    private static SwiftTagSubItemDefinition U0008U0004;
    private static SwiftTagDefinition U000EU0004;
    private static SwiftTagSubItemDefinition U000FU0004;
    private static SwiftTagSubItemDefinition U0010U0004;
    private static SwiftTagDefinition U0011U0004;
    private static SwiftTagChoiceDefinition U0012U0004;
    private static SwiftTagDefinition U0013U0004;
    private static SwiftTagSubItemDefinition U0014U0004;
    private static SwiftTagSubItemDefinition U0015U0004;
    private static SwiftTagDefinition U0016U0004;
    private static SwiftTagSubItemDefinition U0017U0004;
    private static SwiftTagSubItemDefinition U0018U0004;
    private static SwiftTagDefinition U0019U0004;
    private static SwiftTagChoiceDefinition U001AU0004;
    private static SwiftTagDefinition U001BU0004;
    private static SwiftTagSubItemDefinition U001CU0004;
    private static SwiftTagSubItemDefinition U001DU0004;
    private static SwiftTagDefinition U001EU0004;
    private static SwiftTagSubItemDefinition U001FU0004;
    private static SwiftTagSubItemDefinition U007FU0004;
    private static SwiftTagDefinition U0080U0004;
    private static SwiftTagChoiceDefinition U0081U0004;
    private static SwiftTagDefinition U0082U0004;
    private static SwiftTagSubItemDefinition U0083U0004;
    private static SwiftTagSubItemDefinition U0084U0004;
    private static SwiftTagDefinition U0086U0004;
    private static SwiftTagSubItemDefinition U0087U0004;
    private static SwiftTagSubItemDefinition U0088U0004;
    private static SwiftTagDefinition U0089U0004;
    private static SwiftTagChoiceDefinition U008AU0004;
    private static SwiftTagDefinition U008BU0004;
    private static SwiftTagSubItemDefinition U008CU0004;
    private static SwiftTagSubItemDefinition U008DU0004;
    private static SwiftTagDefinition U008EU0004;
    private static SwiftTagSubItemDefinition U008FU0004;
    private static SwiftTagSubItemDefinition U0090U0004;
    private static SwiftTagDefinition U0091U0004;
    private static SwiftTagSubItemDefinition U0092U0004;
    private static SwiftTagSequenceDefinition U0093U0004;
    private static SwiftTagDefinition U0094U0004;
    private static SwiftTagSubItemDefinition U0095U0004;
    private static SwiftTagDefinition U0096U0004;
    private static SwiftTagSubItemDefinition U0097U0004;
    private static SwiftTagDefinition U0098U0004;
    private static SwiftTagSubItemDefinition U0099U0004;
    private static SwiftTagDefinition U009AU0004;
    private static SwiftTagSubItemDefinition U009BU0004;
    private static SwiftTagSequenceDefinition U009CU0004;
    private static SwiftTagDefinition U009DU0004;
    private static SwiftTagSubItemDefinition U009EU0004;
    private static SwiftTagSubItemDefinition U009FU0004;
    private static SwiftTagDefinition U0001U0005;
    private static SwiftTagSubItemDefinition U0002U0005;
    private static SwiftTagSubItemDefinition U0003U0005;
    private static SwiftTagSubItemDefinition U0004U0005;
    private static SwiftTagDefinition U0005U0005;
    private static SwiftTagSubItemDefinition U0006U0005;
    private static SwiftTagSubItemDefinition U0007U0005;
    private static SwiftTagSequenceDefinition U0008U0005;
    private static SwiftTagDefinition U000EU0005;
    private static SwiftTagSubItemDefinition U000FU0005;
    private static SwiftTagDefinition U0010U0005;
    private static SwiftTagSubItemDefinition U0011U0005;
    private static SwiftTagDefinition U0012U0005;
    private static SwiftTagSubItemDefinition U0013U0005;
    private static SwiftTagDefinition U0014U0005;
    private static SwiftTagSubItemDefinition U0015U0005;
    private static SwiftTagDefinition U0016U0005;
    private static SwiftTagSubItemDefinition U0017U0005;
    private static SwiftTagSubItemDefinition U0018U0005;
    private static SwiftTagSequenceDefinition U0019U0005;
    private static SwiftTagDefinition U001AU0005;
    private static SwiftTagSubItemDefinition U001BU0005;
    private static SwiftTagDefinition U001CU0005;
    private static SwiftTagSubItemDefinition U001DU0005;
    private static SwiftTagDefinition U001EU0005;
    private static SwiftTagSubItemDefinition U001FU0005;
    private static SwiftTagSequenceDefinition U007FU0005;
    private static SwiftTagDefinition U0080U0005;
    private static SwiftTagSubItemDefinition U0081U0005;
    private static SwiftTagDefinition U0082U0005;
    private static SwiftTagDefinition U0083U0005;
    private static SwiftTagSubItemDefinition U0084U0005;
    private static SwiftTagSubItemDefinition U0086U0005;
    private static SwiftTagSubItemDefinition U0087U0005;
    private static SwiftTagChoiceDefinition U0088U0005;
    private static SwiftTagDefinition U0089U0005;
    private static SwiftTagSubItemDefinition U008AU0005;
    private static SwiftTagSubItemDefinition U008BU0005;
    private static SwiftTagDefinition U008CU0005;
    private static SwiftTagSubItemDefinition U008DU0005;
    private static SwiftTagSubItemDefinition U008EU0005;
    private static SwiftTagDefinition U008FU0005;
    private static SwiftTagSubItemDefinition U0090U0005;
    private static SwiftTagSubItemDefinition U0091U0005;
    private static SwiftTagDefinition U0092U0005;
    private static SwiftTagSubItemDefinition U0093U0005;
    private static SwiftTagDefinition U0094U0005;
    private static SwiftTagSubItemDefinition U0095U0005;
    private static SwiftTagSubItemDefinition U0096U0005;
    private static SwiftTagSubItemDefinition U0097U0005;
    private static SwiftTagSubItemDefinition U0098U0005;
    private static SwiftTagSubItemDefinition U0099U0005;
    private static SwiftTagSubItemDefinition U009AU0005;
    private static SwiftTagSequenceDefinition U009BU0005;
    private static SwiftTagDefinition U009CU0005;
    private static SwiftTagSubItemDefinition U009DU0005;
    private static SwiftTagDefinition U009EU0005;
    private static SwiftTagSubItemDefinition U009FU0005;
    private static SwiftTagSequenceDefinition U0001U0006;
    private static SwiftTagDefinition U0002U0006;
    private static SwiftTagSubItemDefinition U0003U0006;
    private static SwiftTagDefinition U0004U0006;
    private static SwiftTagSubItemDefinition U0005U0006;
    private static SwiftTagChoiceDefinition U0006U0006;
    private static SwiftTagDefinition U0007U0006;
    private static SwiftTagSubItemDefinition U0008U0006;
    private static SwiftTagSubItemDefinition U000EU0006;
    private static SwiftTagDefinition U000FU0006;
    private static SwiftTagSubItemDefinition U0010U0006;
    private static SwiftTagSubItemDefinition U0011U0006;
    private static SwiftTagDefinition U0012U0006;
    private static SwiftTagChoiceDefinition U0013U0006;
    private static SwiftTagDefinition U0014U0006;
    private static SwiftTagSubItemDefinition U0015U0006;
    private static SwiftTagSubItemDefinition U0016U0006;
    private static SwiftTagDefinition U0017U0006;
    private static SwiftTagSubItemDefinition U0018U0006;
    private static SwiftTagSubItemDefinition U0019U0006;
    private static SwiftTagDefinition U001AU0006;
    private static SwiftTagChoiceDefinition U001BU0006;
    private static SwiftTagDefinition U001CU0006;
    private static SwiftTagSubItemDefinition U001DU0006;
    private static SwiftTagSubItemDefinition U001EU0006;
    private static SwiftTagDefinition U001FU0006;
    private static SwiftTagSubItemDefinition U007FU0006;
    private static SwiftTagSubItemDefinition U0080U0006;
    private static SwiftTagDefinition U0081U0006;
    private static SwiftTagChoiceDefinition U0082U0006;
    private static SwiftTagDefinition U0083U0006;
    private static SwiftTagSubItemDefinition U0084U0006;
    private static SwiftTagSubItemDefinition U0086U0006;
    private static SwiftTagDefinition U0087U0006;
    private static SwiftTagSubItemDefinition U0088U0006;
    private static SwiftTagSubItemDefinition U0089U0006;
    private static SwiftTagDefinition U008AU0006;

    [Description("General Information")]
    public MT306.SequenceAClass SequenceA
    {
      get
      {
        return new MT306.SequenceAClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Transaction Details")]
    public MT306.SequenceBClass SequenceB
    {
      get
      {
        return new MT306.SequenceBClass((SwiftElement) this, 0, false);
      }
    }

    [Description("Settlement Instructions for Payment of Premium")]
    public MT306.SequenceCClass SequenceC
    {
      get
      {
        MT306.SequenceCClass sequenceCclass = new MT306.SequenceCClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceCclass).Count > 0)
          return sequenceCclass;
        else
          return (MT306.SequenceCClass) null;
      }
    }

    [Description("Vanilla Block")]
    public MT306.SequenceDClass SequenceD
    {
      get
      {
        MT306.SequenceDClass sequenceDclass = new MT306.SequenceDClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceDclass).Count > 0)
          return sequenceDclass;
        else
          return (MT306.SequenceDClass) null;
      }
    }

    [Description("Payout Amount")]
    public MT306.SequenceEClass SequenceE
    {
      get
      {
        MT306.SequenceEClass sequenceEclass = new MT306.SequenceEClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceEclass).Count > 0)
          return sequenceEclass;
        else
          return (MT306.SequenceEClass) null;
      }
    }

    [Description("Barrier Block")]
    public MT306.SequenceFClass SequenceF
    {
      get
      {
        MT306.SequenceFClass sequenceFclass = new MT306.SequenceFClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceFclass).Count > 0)
          return sequenceFclass;
        else
          return (MT306.SequenceFClass) null;
      }
    }

    [Description("Trigger Block")]
    public MT306.SequenceGClass SequenceG
    {
      get
      {
        MT306.SequenceGClass sequenceGclass = new MT306.SequenceGClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceGclass).Count > 0)
          return sequenceGclass;
        else
          return (MT306.SequenceGClass) null;
      }
    }

    [Description("Non Deliverable Option Block")]
    public MT306.SequenceHClass SequenceH
    {
      get
      {
        MT306.SequenceHClass sequenceHclass = new MT306.SequenceHClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceHclass).Count > 0)
          return sequenceHclass;
        else
          return (MT306.SequenceHClass) null;
      }
    }

    [Description("Additional Information")]
    public MT306.SequenceIClass SequenceI
    {
      get
      {
        MT306.SequenceIClass sequenceIclass = new MT306.SequenceIClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceIclass).Count > 0)
          return sequenceIclass;
        else
          return (MT306.SequenceIClass) null;
      }
    }

    [Description("Additional Amounts")]
    public MT306.SequenceJClass SequenceJ
    {
      get
      {
        MT306.SequenceJClass sequenceJclass = new MT306.SequenceJClass((SwiftElement) this, 0, false);
        if (this.ListTags((SwiftElement) sequenceJclass).Count > 0)
          return sequenceJclass;
        else
          return (MT306.SequenceJClass) null;
      }
    }

    public MT306()
      : base(true)
    {
    }

    public MT306(SwiftMessage message)
      : base(message)
    {
    }

    public MT306.SequenceCClass AddSequenceC()
    {
      return this.SequenceC ?? new MT306.SequenceCClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceC(MT306.SequenceCClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceDClass AddSequenceD()
    {
      return this.SequenceD ?? new MT306.SequenceDClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceD(MT306.SequenceDClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceEClass AddSequenceE()
    {
      return this.SequenceE ?? new MT306.SequenceEClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceE(MT306.SequenceEClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceFClass AddSequenceF()
    {
      return this.SequenceF ?? new MT306.SequenceFClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceF(MT306.SequenceFClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceGClass AddSequenceG()
    {
      return this.SequenceG ?? new MT306.SequenceGClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceG(MT306.SequenceGClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceHClass AddSequenceH()
    {
      return this.SequenceH ?? new MT306.SequenceHClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceH(MT306.SequenceHClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceIClass AddSequenceI()
    {
      return this.SequenceI ?? new MT306.SequenceIClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceI(MT306.SequenceIClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    public MT306.SequenceJClass AddSequenceJ()
    {
      return this.SequenceJ ?? new MT306.SequenceJClass((SwiftElement) this, 0, true);
    }

    public void RemoveSequenceJ(MT306.SequenceJClass sequence)
    {
      foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
        this.RemoveTag(tag);
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT306.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT306.MessageDefinition = new SwiftMessageDefinition("MT306", "Foreign Currency Option Confirmation");
      MT306.U0002 = new SwiftTagSequenceDefinition("SequenceA", "General Information");
      MT306.U0003 = new SwiftTagDefinition("NewSequence_A_15A", "New Sequence");
      MT306.U0003.TagName = ":15A:";
      MT306.U0004 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U0004.Mandatory = false;
      MT306.U0003.Elements.Add((SwiftDefinitionElement) MT306.U0004);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0003);
      MT306.U0005 = new SwiftTagDefinition("SendersReference_A_20", "Senders Reference");
      MT306.U0005.TagName = ":20:";
      MT306.U0006 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT306.U0005.Elements.Add((SwiftDefinitionElement) MT306.U0006);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0005);
      MT306.U0007 = new SwiftTagDefinition("RelatedReference_A_21", "Related Reference");
      MT306.U0007.TagName = ":21:";
      MT306.U0007.Mandatory = false;
      MT306.U0008 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT306.U0007.Elements.Add((SwiftDefinitionElement) MT306.U0008);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0007);
      MT306.U000E = new SwiftTagDefinition("TypeOfOperation_A_22A", "Type of Operation");
      MT306.U000E.TagName = ":22A:";
      MT306.U000F = new SwiftTagSubItemDefinition("Function", "Function");
      MT306.U000E.Elements.Add((SwiftDefinitionElement) MT306.U000F);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U000E);
      MT306.U0010 = new SwiftTagDefinition("ScopeOfOperation_A_94A", "Scope Of Operation");
      MT306.U0010.TagName = ":94A:";
      MT306.U0010.Mandatory = false;
      MT306.U0011 = new SwiftTagSubItemDefinition("Scope", "Scope");
      MT306.U0010.Elements.Add((SwiftDefinitionElement) MT306.U0011);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0010);
      MT306.U0012 = new SwiftTagDefinition("CommonReference_A_22C", "Common Reference");
      MT306.U0012.TagName = ":22C:";
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0012);
      MT306.U0013 = new SwiftTagDefinition("ContractNumberPartyA_A_21N", "Contract Number Party A");
      MT306.U0013.TagName = ":21N:";
      MT306.U0014 = new SwiftTagSubItemDefinition("Number", "Number");
      MT306.U0013.Elements.Add((SwiftDefinitionElement) MT306.U0014);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0013);
      MT306.U0015 = new SwiftTagDefinition("ContractNumberPartyB_A_21B", "Contract Number Party B");
      MT306.U0015.TagName = ":21B:";
      MT306.U0015.Mandatory = false;
      MT306.U0016 = new SwiftTagSubItemDefinition("Number", "Number");
      MT306.U0015.Elements.Add((SwiftDefinitionElement) MT306.U0016);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0015);
      MT306.U0017 = new SwiftTagDefinition("OptionStyle_A_12F", "Option Style");
      MT306.U0017.TagName = ":12F:";
      MT306.U0018 = new SwiftTagSubItemDefinition("OptionStyle", "Option Style");
      MT306.U0017.Elements.Add((SwiftDefinitionElement) MT306.U0018);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0017);
      MT306.U0019 = new SwiftTagDefinition("ExpirationStyle_A_12E", "Expiration Style");
      MT306.U0019.TagName = ":12E:";
      MT306.U001A = new SwiftTagSubItemDefinition("ExpirationStyle", "Expiration Style");
      MT306.U0019.Elements.Add((SwiftDefinitionElement) MT306.U001A);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0019);
      MT306.U001B = new SwiftTagDefinition("BarrierIndicator_A_17A", "Barrier Indicator");
      MT306.U001B.TagName = ":17A:";
      MT306.U001C = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT306.U001B.Elements.Add((SwiftDefinitionElement) MT306.U001C);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U001B);
      MT306.U001D = new SwiftTagDefinition("NonDeliverableIndicator_A_17F", "Non Deliverable Indicator ");
      MT306.U001D.TagName = ":17F:";
      MT306.U001E = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT306.U001D.Elements.Add((SwiftDefinitionElement) MT306.U001E);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U001D);
      MT306.U001F = new SwiftTagDefinition("TypeOfEvent_A_22K", "Type Of Event");
      MT306.U001F.TagName = ":22K:";
      MT306.U007F = new SwiftTagSubItemDefinition("TypeOfEvent", "Type Of Event");
      MT306.U001F.Elements.Add((SwiftDefinitionElement) MT306.U007F);
      MT306.U0080 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT306.U0080.Mandatory = false;
      MT306.U0081 = new SwiftTagSubItemDefinition("Narrative_1", "Narrative");
      MT306.U0080.Elements.Add((SwiftDefinitionElement) MT306.U0081);
      MT306.U001F.Elements.Add((SwiftDefinitionElement) MT306.U0080);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U001F);
      MT306.U0082 = new SwiftTagDefinition("DateOfTriggerHit_A_30U", "Date Of Trigger Hit");
      MT306.U0082.TagName = ":30U:";
      MT306.U0082.Mandatory = false;
      MT306.U0083 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0082.Elements.Add((SwiftDefinitionElement) MT306.U0083);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0082);
      MT306.U0084 = new SwiftTagDefinition("LocationOfTriggerHit_A_29H", "Location Of Trigger Hit");
      MT306.U0084.TagName = ":29H:";
      MT306.U0084.Mandatory = false;
      MT306.U0086 = new SwiftTagSubItemDefinition("Location", "Location");
      MT306.U0084.Elements.Add((SwiftDefinitionElement) MT306.U0086);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0084);
      MT306.U0087 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0087.Multiple = true;
      MT306.U0088 = new SwiftTagDefinition("PartyA_A_82A", "Party A");
      MT306.U0088.TagName = ":82A:";
      MT306.U0089 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0089.Mandatory = false;
      MT306.U0088.Elements.Add((SwiftDefinitionElement) MT306.U0089);
      MT306.U008A = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0088.Elements.Add((SwiftDefinitionElement) MT306.U008A);
      MT306.U0087.Elements.Add((SwiftDefinitionElement) MT306.U0088);
      MT306.U008B = new SwiftTagDefinition("PartyA_A_82D", "Party A");
      MT306.U008B.TagName = ":82D:";
      MT306.U008C = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008C.Mandatory = false;
      MT306.U008B.Elements.Add((SwiftDefinitionElement) MT306.U008C);
      MT306.U008D = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U008B.Elements.Add((SwiftDefinitionElement) MT306.U008D);
      MT306.U0087.Elements.Add((SwiftDefinitionElement) MT306.U008B);
      MT306.U008E = new SwiftTagDefinition("PartyA_A_82J", "Party A");
      MT306.U008E.TagName = ":82J:";
      MT306.U008F = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U008E.Elements.Add((SwiftDefinitionElement) MT306.U008F);
      MT306.U0087.Elements.Add((SwiftDefinitionElement) MT306.U008E);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0087);
      MT306.U0090 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0090.Multiple = true;
      MT306.U0091 = new SwiftTagDefinition("PartyB_A_87A", "Party B");
      MT306.U0091.TagName = ":87A:";
      MT306.U0092 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0092.Mandatory = false;
      MT306.U0091.Elements.Add((SwiftDefinitionElement) MT306.U0092);
      MT306.U0093 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0091.Elements.Add((SwiftDefinitionElement) MT306.U0093);
      MT306.U0090.Elements.Add((SwiftDefinitionElement) MT306.U0091);
      MT306.U0094 = new SwiftTagDefinition("PartyB_A_87D", "Party B");
      MT306.U0094.TagName = ":87D:";
      MT306.U0095 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0095.Mandatory = false;
      MT306.U0094.Elements.Add((SwiftDefinitionElement) MT306.U0095);
      MT306.U0096 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0094.Elements.Add((SwiftDefinitionElement) MT306.U0096);
      MT306.U0090.Elements.Add((SwiftDefinitionElement) MT306.U0094);
      MT306.U0097 = new SwiftTagDefinition("PartyB_A_87J", "Party B");
      MT306.U0097.TagName = ":87J:";
      MT306.U0098 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U0097.Elements.Add((SwiftDefinitionElement) MT306.U0098);
      MT306.U0090.Elements.Add((SwiftDefinitionElement) MT306.U0097);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0090);
      MT306.U0099 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0099.Mandatory = false;
      MT306.U0099.Multiple = true;
      MT306.U009A = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83A", "Fund or Beneficiary Customer");
      MT306.U009A.TagName = ":83A:";
      MT306.U009B = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U009B.Mandatory = false;
      MT306.U009A.Elements.Add((SwiftDefinitionElement) MT306.U009B);
      MT306.U009C = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U009A.Elements.Add((SwiftDefinitionElement) MT306.U009C);
      MT306.U0099.Elements.Add((SwiftDefinitionElement) MT306.U009A);
      MT306.U009D = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83D", "Fund or Beneficiary Customer");
      MT306.U009D.TagName = ":83D:";
      MT306.U009E = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U009E.Mandatory = false;
      MT306.U009D.Elements.Add((SwiftDefinitionElement) MT306.U009E);
      MT306.U009F = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U009D.Elements.Add((SwiftDefinitionElement) MT306.U009F);
      MT306.U0099.Elements.Add((SwiftDefinitionElement) MT306.U009D);
      MT306.U0001U0002 = new SwiftTagDefinition("FundOrBeneficiaryCustomer_A_83J", "Fund or Beneficiary Customer");
      MT306.U0001U0002.TagName = ":83J:";
      MT306.U0002U0002 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U0001U0002.Elements.Add((SwiftDefinitionElement) MT306.U0002U0002);
      MT306.U0099.Elements.Add((SwiftDefinitionElement) MT306.U0001U0002);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0099);
      MT306.U0003U0002 = new SwiftTagDefinition("TypeDateVersionOfTheAgreement_A_77H", "Type, Date, Version Of The Agreement");
      MT306.U0003U0002.TagName = ":77H:";
      MT306.U0004U0002 = new SwiftTagSubItemDefinition("TypeDateVersionOfTheAgreement", "Type, Date, Version Of The Agreement");
      MT306.U0005U0002 = new SwiftTagSubItemDefinition("TypeOfAgreement", "Type");
      MT306.U0004U0002.Elements.Add((SwiftDefinitionElement) MT306.U0005U0002);
      MT306.U0006U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0006U0002.Mandatory = false;
      MT306.U0007U0002 = new SwiftTagSubItemDefinition("Date_1", "Date");
      MT306.U0006U0002.Elements.Add((SwiftDefinitionElement) MT306.U0007U0002);
      MT306.U0004U0002.Elements.Add((SwiftDefinitionElement) MT306.U0006U0002);
      MT306.U0003U0002.Elements.Add((SwiftDefinitionElement) MT306.U0004U0002);
      MT306.U0008U0002 = new SwiftTagSubItemDefinition("Version", "Version");
      MT306.U0008U0002.Mandatory = false;
      MT306.U000EU0002 = new SwiftTagSubItemDefinition("Version_1", "Version");
      MT306.U0008U0002.Elements.Add((SwiftDefinitionElement) MT306.U000EU0002);
      MT306.U0003U0002.Elements.Add((SwiftDefinitionElement) MT306.U0008U0002);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0003U0002);
      MT306.U000FU0002 = new SwiftTagDefinition("AdditionalConditions_A_77D", "Additional Conditions");
      MT306.U000FU0002.TagName = ":77D:";
      MT306.U000FU0002.Mandatory = false;
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U000FU0002);
      MT306.U0010U0002 = new SwiftTagDefinition("YearOfDefinitions_A_14C", "Year Of Definitions");
      MT306.U0010U0002.TagName = ":14C:";
      MT306.U0010U0002.Mandatory = false;
      MT306.U0011U0002 = new SwiftTagSubItemDefinition("Year", "Year");
      MT306.U0010U0002.Elements.Add((SwiftDefinitionElement) MT306.U0011U0002);
      MT306.U0002.Elements.Add((SwiftDefinitionElement) MT306.U0010U0002);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0002);
      MT306.U0012U0002 = new SwiftTagSequenceDefinition("SequenceB", "Transaction Details");
      MT306.U0013U0002 = new SwiftTagDefinition("NewSequence_B_15B", "New Sequence");
      MT306.U0013U0002.TagName = ":15B:";
      MT306.U0014U0002 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U0014U0002.Mandatory = false;
      MT306.U0013U0002.Elements.Add((SwiftDefinitionElement) MT306.U0014U0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U0013U0002);
      MT306.U0015U0002 = new SwiftTagDefinition("BuySellIndicator_B_17V", "Buy (Sell) Indicator");
      MT306.U0015U0002.TagName = ":17V:";
      MT306.U0016U0002 = new SwiftTagSubItemDefinition("Indicator", "Indicator");
      MT306.U0015U0002.Elements.Add((SwiftDefinitionElement) MT306.U0016U0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U0015U0002);
      MT306.U0017U0002 = new SwiftTagDefinition("TradeDate_B_30T", "Trade Date");
      MT306.U0017U0002.TagName = ":30T:";
      MT306.U0018U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0017U0002.Elements.Add((SwiftDefinitionElement) MT306.U0018U0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U0017U0002);
      MT306.U0019U0002 = new SwiftTagDefinition("ExpirationDate_B_30X", "Expiration Date");
      MT306.U0019U0002.TagName = ":30X:";
      MT306.U001AU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0019U0002.Elements.Add((SwiftDefinitionElement) MT306.U001AU0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U0019U0002);
      MT306.U001BU0002 = new SwiftTagDefinition("ExpirationLocationAndTime_B_29E", "Expiration Location And Time");
      MT306.U001BU0002.TagName = ":29E:";
      MT306.U001CU0002 = new SwiftTagSubItemDefinition("Location", "Location");
      MT306.U001BU0002.Elements.Add((SwiftDefinitionElement) MT306.U001CU0002);
      MT306.U001DU0002 = new SwiftTagSubItemDefinition("Time", "Time");
      MT306.U001BU0002.Elements.Add((SwiftDefinitionElement) MT306.U001DU0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U001BU0002);
      MT306.U001EU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U001EU0002.Multiple = true;
      MT306.U001FU0002 = new SwiftTagDefinition("FinalSettlementDate_B_30F", "Final Settlement Date");
      MT306.U001FU0002.TagName = ":30F:";
      MT306.U007FU0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U001FU0002.Elements.Add((SwiftDefinitionElement) MT306.U007FU0002);
      MT306.U001EU0002.Elements.Add((SwiftDefinitionElement) MT306.U001FU0002);
      MT306.U0080U0002 = new SwiftTagDefinition("FinalSettlementDate_B_30J", "Final Settlement Date");
      MT306.U0080U0002.TagName = ":30J:";
      MT306.U0081U0002 = new SwiftTagSubItemDefinition("IndicatorNumber", "Indicator Number");
      MT306.U0080U0002.Elements.Add((SwiftDefinitionElement) MT306.U0081U0002);
      MT306.U001EU0002.Elements.Add((SwiftDefinitionElement) MT306.U0080U0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U001EU0002);
      MT306.U0082U0002 = new SwiftTagSequenceDefinition("SequenceB1", "Settlement Instructions for Payment of Premium");
      MT306.U0082U0002.Mandatory = false;
      MT306.U0083U0002 = new SwiftTagDefinition("PremiumPrice_B1_37K", "Premium Price");
      MT306.U0083U0002.TagName = ":37K:";
      MT306.U0083U0002.Mandatory = false;
      MT306.U0084U0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U0083U0002.Elements.Add((SwiftDefinitionElement) MT306.U0084U0002);
      MT306.U0086U0002 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U0083U0002.Elements.Add((SwiftDefinitionElement) MT306.U0086U0002);
      MT306.U0082U0002.Elements.Add((SwiftDefinitionElement) MT306.U0083U0002);
      MT306.U0087U0002 = new SwiftTagDefinition("PremiumPaymentDate_B1_30V", "Premium Payment Date");
      MT306.U0087U0002.TagName = ":30V:";
      MT306.U0088U0002 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0087U0002.Elements.Add((SwiftDefinitionElement) MT306.U0088U0002);
      MT306.U0082U0002.Elements.Add((SwiftDefinitionElement) MT306.U0087U0002);
      MT306.U0089U0002 = new SwiftTagDefinition("PremiumCurrencyAndAmount_B1_34B", "Premium Currency And Amount");
      MT306.U0089U0002.TagName = ":34B:";
      MT306.U008AU0002 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U0089U0002.Elements.Add((SwiftDefinitionElement) MT306.U008AU0002);
      MT306.U008BU0002 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT306.U0089U0002.Elements.Add((SwiftDefinitionElement) MT306.U008BU0002);
      MT306.U0082U0002.Elements.Add((SwiftDefinitionElement) MT306.U0089U0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U0082U0002);
      MT306.U008CU0002 = new SwiftTagSequenceDefinition("SequenceB2", "Settlement Instructions for Payment of Premium");
      MT306.U008DU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U008DU0002.Multiple = true;
      MT306.U008EU0002 = new SwiftTagDefinition("CalculationAgent_B2_84A", "Calculation Agent");
      MT306.U008EU0002.TagName = ":84A:";
      MT306.U008FU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008FU0002.Mandatory = false;
      MT306.U008EU0002.Elements.Add((SwiftDefinitionElement) MT306.U008FU0002);
      MT306.U0090U0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U008EU0002.Elements.Add((SwiftDefinitionElement) MT306.U0090U0002);
      MT306.U008DU0002.Elements.Add((SwiftDefinitionElement) MT306.U008EU0002);
      MT306.U0091U0002 = new SwiftTagDefinition("CalculationAgent_B2_84B", "Calculation Agent");
      MT306.U0091U0002.TagName = ":84B:";
      MT306.U0092U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0092U0002.Mandatory = false;
      MT306.U0091U0002.Elements.Add((SwiftDefinitionElement) MT306.U0092U0002);
      MT306.U0093U0002 = new SwiftTagSubItemDefinition("Location", "Location");
      MT306.U0093U0002.Mandatory = false;
      MT306.U0091U0002.Elements.Add((SwiftDefinitionElement) MT306.U0093U0002);
      MT306.U008DU0002.Elements.Add((SwiftDefinitionElement) MT306.U0091U0002);
      MT306.U0094U0002 = new SwiftTagDefinition("CalculationAgent_B2_84D", "Calculation Agent");
      MT306.U0094U0002.TagName = ":84D:";
      MT306.U0095U0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0095U0002.Mandatory = false;
      MT306.U0094U0002.Elements.Add((SwiftDefinitionElement) MT306.U0095U0002);
      MT306.U0096U0002 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0094U0002.Elements.Add((SwiftDefinitionElement) MT306.U0096U0002);
      MT306.U008DU0002.Elements.Add((SwiftDefinitionElement) MT306.U0094U0002);
      MT306.U0097U0002 = new SwiftTagDefinition("CalculationAgent_B2_84J", "Calculation Agent");
      MT306.U0097U0002.TagName = ":84J:";
      MT306.U0098U0002 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U0097U0002.Elements.Add((SwiftDefinitionElement) MT306.U0098U0002);
      MT306.U008DU0002.Elements.Add((SwiftDefinitionElement) MT306.U0097U0002);
      MT306.U008CU0002.Elements.Add((SwiftDefinitionElement) MT306.U008DU0002);
      MT306.U0012U0002.Elements.Add((SwiftDefinitionElement) MT306.U008CU0002);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0012U0002);
      MT306.U0099U0002 = new SwiftTagSequenceDefinition("SequenceC", "Settlement Instructions for Payment of Premium");
      MT306.U0099U0002.Mandatory = false;
      MT306.U009AU0002 = new SwiftTagDefinition("NewSequence_C_15C", "New Sequence");
      MT306.U009AU0002.TagName = ":15C:";
      MT306.U009BU0002 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U009BU0002.Mandatory = false;
      MT306.U009AU0002.Elements.Add((SwiftDefinitionElement) MT306.U009BU0002);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U009AU0002);
      MT306.U009CU0002 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U009CU0002.Mandatory = false;
      MT306.U009CU0002.Multiple = true;
      MT306.U009DU0002 = new SwiftTagDefinition("DeliveryAgent_C_53A", "Delivery Agent");
      MT306.U009DU0002.TagName = ":53A:";
      MT306.U009EU0002 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U009EU0002.Mandatory = false;
      MT306.U009DU0002.Elements.Add((SwiftDefinitionElement) MT306.U009EU0002);
      MT306.U009FU0002 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U009DU0002.Elements.Add((SwiftDefinitionElement) MT306.U009FU0002);
      MT306.U009CU0002.Elements.Add((SwiftDefinitionElement) MT306.U009DU0002);
      MT306.U0001U0003 = new SwiftTagDefinition("DeliveryAgent_C_53D", "Delivery Agent");
      MT306.U0001U0003.TagName = ":53D:";
      MT306.U0002U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0002U0003.Mandatory = false;
      MT306.U0001U0003.Elements.Add((SwiftDefinitionElement) MT306.U0002U0003);
      MT306.U0003U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0001U0003.Elements.Add((SwiftDefinitionElement) MT306.U0003U0003);
      MT306.U009CU0002.Elements.Add((SwiftDefinitionElement) MT306.U0001U0003);
      MT306.U0004U0003 = new SwiftTagDefinition("DeliveryAgent_C_53J", "Delivery Agent");
      MT306.U0004U0003.TagName = ":53J:";
      MT306.U009CU0002.Elements.Add((SwiftDefinitionElement) MT306.U0004U0003);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U009CU0002);
      MT306.U0005U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0005U0003.Mandatory = false;
      MT306.U0005U0003.Multiple = true;
      MT306.U0006U0003 = new SwiftTagDefinition("Intermediary2_C_86A", "Intermediary 2");
      MT306.U0006U0003.TagName = ":86A:";
      MT306.U0007U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0007U0003.Mandatory = false;
      MT306.U0006U0003.Elements.Add((SwiftDefinitionElement) MT306.U0007U0003);
      MT306.U0008U0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0006U0003.Elements.Add((SwiftDefinitionElement) MT306.U0008U0003);
      MT306.U0005U0003.Elements.Add((SwiftDefinitionElement) MT306.U0006U0003);
      MT306.U000EU0003 = new SwiftTagDefinition("Intermediary2_C_86D", "Intermediary 2");
      MT306.U000EU0003.TagName = ":86D:";
      MT306.U000FU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U000FU0003.Mandatory = false;
      MT306.U000EU0003.Elements.Add((SwiftDefinitionElement) MT306.U000FU0003);
      MT306.U0010U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U000EU0003.Elements.Add((SwiftDefinitionElement) MT306.U0010U0003);
      MT306.U0005U0003.Elements.Add((SwiftDefinitionElement) MT306.U000EU0003);
      MT306.U0011U0003 = new SwiftTagDefinition("Intermediary2_C_86J", "Intermediary 2");
      MT306.U0011U0003.TagName = ":86J:";
      MT306.U0005U0003.Elements.Add((SwiftDefinitionElement) MT306.U0011U0003);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U0005U0003);
      MT306.U0012U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0012U0003.Mandatory = false;
      MT306.U0012U0003.Multiple = true;
      MT306.U0013U0003 = new SwiftTagDefinition("Intermediary_C_56A", "Intermediary");
      MT306.U0013U0003.TagName = ":56A:";
      MT306.U0014U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0014U0003.Mandatory = false;
      MT306.U0013U0003.Elements.Add((SwiftDefinitionElement) MT306.U0014U0003);
      MT306.U0015U0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0013U0003.Elements.Add((SwiftDefinitionElement) MT306.U0015U0003);
      MT306.U0012U0003.Elements.Add((SwiftDefinitionElement) MT306.U0013U0003);
      MT306.U0016U0003 = new SwiftTagDefinition("Intermediary_C_56D", "Intermediary");
      MT306.U0016U0003.TagName = ":56D:";
      MT306.U0017U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0017U0003.Mandatory = false;
      MT306.U0016U0003.Elements.Add((SwiftDefinitionElement) MT306.U0017U0003);
      MT306.U0018U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0016U0003.Elements.Add((SwiftDefinitionElement) MT306.U0018U0003);
      MT306.U0012U0003.Elements.Add((SwiftDefinitionElement) MT306.U0016U0003);
      MT306.U0019U0003 = new SwiftTagDefinition("Intermediary_C_56J", "Intermediary");
      MT306.U0019U0003.TagName = ":56J:";
      MT306.U0012U0003.Elements.Add((SwiftDefinitionElement) MT306.U0019U0003);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U0012U0003);
      MT306.U001AU0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U001AU0003.Multiple = true;
      MT306.U001BU0003 = new SwiftTagDefinition("ReceivingAgent_C_57A", "Receiving Agent");
      MT306.U001BU0003.TagName = ":57A:";
      MT306.U001CU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U001CU0003.Mandatory = false;
      MT306.U001BU0003.Elements.Add((SwiftDefinitionElement) MT306.U001CU0003);
      MT306.U001DU0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U001BU0003.Elements.Add((SwiftDefinitionElement) MT306.U001DU0003);
      MT306.U001AU0003.Elements.Add((SwiftDefinitionElement) MT306.U001BU0003);
      MT306.U001EU0003 = new SwiftTagDefinition("ReceivingAgent_C_57D", "Receiving Agent");
      MT306.U001EU0003.TagName = ":57D:";
      MT306.U001FU0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U001FU0003.Mandatory = false;
      MT306.U001EU0003.Elements.Add((SwiftDefinitionElement) MT306.U001FU0003);
      MT306.U007FU0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U001EU0003.Elements.Add((SwiftDefinitionElement) MT306.U007FU0003);
      MT306.U001AU0003.Elements.Add((SwiftDefinitionElement) MT306.U001EU0003);
      MT306.U0080U0003 = new SwiftTagDefinition("ReceivingAgent_C_57J", "Receiving Agent");
      MT306.U0080U0003.TagName = ":57J:";
      MT306.U001AU0003.Elements.Add((SwiftDefinitionElement) MT306.U0080U0003);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U001AU0003);
      MT306.U0081U0003 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0081U0003.Mandatory = false;
      MT306.U0081U0003.Multiple = true;
      MT306.U0082U0003 = new SwiftTagDefinition("BeneficiaryInstitution_C_58A", "Beneficiary Institution");
      MT306.U0082U0003.TagName = ":58A:";
      MT306.U0083U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0083U0003.Mandatory = false;
      MT306.U0082U0003.Elements.Add((SwiftDefinitionElement) MT306.U0083U0003);
      MT306.U0084U0003 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0082U0003.Elements.Add((SwiftDefinitionElement) MT306.U0084U0003);
      MT306.U0081U0003.Elements.Add((SwiftDefinitionElement) MT306.U0082U0003);
      MT306.U0086U0003 = new SwiftTagDefinition("BeneficiaryInstitution_C_58D", "Beneficiary Institution");
      MT306.U0086U0003.TagName = ":58D:";
      MT306.U0087U0003 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0087U0003.Mandatory = false;
      MT306.U0086U0003.Elements.Add((SwiftDefinitionElement) MT306.U0087U0003);
      MT306.U0088U0003 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0086U0003.Elements.Add((SwiftDefinitionElement) MT306.U0088U0003);
      MT306.U0081U0003.Elements.Add((SwiftDefinitionElement) MT306.U0086U0003);
      MT306.U0089U0003 = new SwiftTagDefinition("BeneficiaryInstitution_C_58J", "Beneficiary Institution");
      MT306.U0089U0003.TagName = ":58J:";
      MT306.U008AU0003 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U0089U0003.Elements.Add((SwiftDefinitionElement) MT306.U008AU0003);
      MT306.U0081U0003.Elements.Add((SwiftDefinitionElement) MT306.U0089U0003);
      MT306.U0099U0002.Elements.Add((SwiftDefinitionElement) MT306.U0081U0003);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0099U0002);
      MT306.U008BU0003 = new SwiftTagSequenceDefinition("SequenceD", "Vanilla Block");
      MT306.U008BU0003.Mandatory = false;
      MT306.U008CU0003 = new SwiftTagDefinition("NewSequence_D_15D", "New Sequence");
      MT306.U008CU0003.TagName = ":15D:";
      MT306.U008DU0003 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U008DU0003.Mandatory = false;
      MT306.U008CU0003.Elements.Add((SwiftDefinitionElement) MT306.U008DU0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U008CU0003);
      MT306.U008EU0003 = new SwiftTagDefinition("EarliestExerciseDate_D_30P", "Earliest Exercise Date");
      MT306.U008EU0003.TagName = ":30P:";
      MT306.U008EU0003.Mandatory = false;
      MT306.U008FU0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U008EU0003.Elements.Add((SwiftDefinitionElement) MT306.U008FU0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U008EU0003);
      MT306.U0090U0003 = new SwiftTagDefinition("IntermediateExerciseDate_D_30Q", "Intermediate Exercise Date");
      MT306.U0090U0003.TagName = ":30Q:";
      MT306.U0090U0003.Mandatory = false;
      MT306.U0090U0003.Multiple = true;
      MT306.U0091U0003 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0090U0003.Elements.Add((SwiftDefinitionElement) MT306.U0091U0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U0090U0003);
      MT306.U0092U0003 = new SwiftTagDefinition("SettlementType_D_26F", "Settlement Type");
      MT306.U0092U0003.TagName = ":26F:";
      MT306.U0093U0003 = new SwiftTagSubItemDefinition("SettlementType", "Settlement Type");
      MT306.U0092U0003.Elements.Add((SwiftDefinitionElement) MT306.U0093U0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U0092U0003);
      MT306.U0094U0003 = new SwiftTagDefinition("PutCurrencyAndAmount_D_32B", "Put Currency and Amount");
      MT306.U0094U0003.TagName = ":32B:";
      MT306.U0095U0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U0094U0003.Elements.Add((SwiftDefinitionElement) MT306.U0095U0003);
      MT306.U0096U0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT306.U0094U0003.Elements.Add((SwiftDefinitionElement) MT306.U0096U0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U0094U0003);
      MT306.U0097U0003 = new SwiftTagDefinition("StrikePrice_D_36", "Strike Price");
      MT306.U0097U0003.TagName = ":36:";
      MT306.U0098U0003 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U0097U0003.Elements.Add((SwiftDefinitionElement) MT306.U0098U0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U0097U0003);
      MT306.U0099U0003 = new SwiftTagDefinition("CallCurrencyAndAmount_D_33B", "Call Currency and Amount");
      MT306.U0099U0003.TagName = ":33B:";
      MT306.U009AU0003 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U0099U0003.Elements.Add((SwiftDefinitionElement) MT306.U009AU0003);
      MT306.U009BU0003 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT306.U0099U0003.Elements.Add((SwiftDefinitionElement) MT306.U009BU0003);
      MT306.U008BU0003.Elements.Add((SwiftDefinitionElement) MT306.U0099U0003);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U008BU0003);
      MT306.U009CU0003 = new SwiftTagSequenceDefinition("SequenceE", "Payout Amount");
      MT306.U009CU0003.Mandatory = false;
      MT306.U009DU0003 = new SwiftTagDefinition("NewSequence_E_15E", "New Sequence");
      MT306.U009DU0003.TagName = ":15E:";
      MT306.U009EU0003 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U009EU0003.Mandatory = false;
      MT306.U009DU0003.Elements.Add((SwiftDefinitionElement) MT306.U009EU0003);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U009DU0003);
      MT306.U009FU0003 = new SwiftTagDefinition("CurrencyAmount_E_33E", "Currency, Amount");
      MT306.U009FU0003.TagName = ":33E:";
      MT306.U0001U0004 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U009FU0003.Elements.Add((SwiftDefinitionElement) MT306.U0001U0004);
      MT306.U0002U0004 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT306.U009FU0003.Elements.Add((SwiftDefinitionElement) MT306.U0002U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U009FU0003);
      MT306.U0003U0004 = new SwiftTagDefinition("TouchPaymentDate_E_30H", "Touch Payment Date");
      MT306.U0003U0004.TagName = ":30H:";
      MT306.U0003U0004.Mandatory = false;
      MT306.U0004U0004 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0003U0004.Elements.Add((SwiftDefinitionElement) MT306.U0004U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U0003U0004);
      MT306.U0005U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0005U0004.Mandatory = false;
      MT306.U0005U0004.Multiple = true;
      MT306.U0006U0004 = new SwiftTagDefinition("DeliveryAgent_E_53A", "Delivery Agent");
      MT306.U0006U0004.TagName = ":53A:";
      MT306.U0007U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0007U0004.Mandatory = false;
      MT306.U0006U0004.Elements.Add((SwiftDefinitionElement) MT306.U0007U0004);
      MT306.U0008U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0006U0004.Elements.Add((SwiftDefinitionElement) MT306.U0008U0004);
      MT306.U0005U0004.Elements.Add((SwiftDefinitionElement) MT306.U0006U0004);
      MT306.U000EU0004 = new SwiftTagDefinition("DeliveryAgent_E_53D", "Delivery Agent");
      MT306.U000EU0004.TagName = ":53D:";
      MT306.U000FU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U000FU0004.Mandatory = false;
      MT306.U000EU0004.Elements.Add((SwiftDefinitionElement) MT306.U000FU0004);
      MT306.U0010U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U000EU0004.Elements.Add((SwiftDefinitionElement) MT306.U0010U0004);
      MT306.U0005U0004.Elements.Add((SwiftDefinitionElement) MT306.U000EU0004);
      MT306.U0011U0004 = new SwiftTagDefinition("DeliveryAgent_E_53J", "Delivery Agent");
      MT306.U0011U0004.TagName = ":53J:";
      MT306.U0005U0004.Elements.Add((SwiftDefinitionElement) MT306.U0011U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U0005U0004);
      MT306.U0012U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0012U0004.Mandatory = false;
      MT306.U0012U0004.Multiple = true;
      MT306.U0013U0004 = new SwiftTagDefinition("Intermediary2_E_86A", "Intermediary 2");
      MT306.U0013U0004.TagName = ":86A:";
      MT306.U0014U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0014U0004.Mandatory = false;
      MT306.U0013U0004.Elements.Add((SwiftDefinitionElement) MT306.U0014U0004);
      MT306.U0015U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0013U0004.Elements.Add((SwiftDefinitionElement) MT306.U0015U0004);
      MT306.U0012U0004.Elements.Add((SwiftDefinitionElement) MT306.U0013U0004);
      MT306.U0016U0004 = new SwiftTagDefinition("Intermediary2_E_86D", "Intermediary 2");
      MT306.U0016U0004.TagName = ":86D:";
      MT306.U0017U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0017U0004.Mandatory = false;
      MT306.U0016U0004.Elements.Add((SwiftDefinitionElement) MT306.U0017U0004);
      MT306.U0018U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0016U0004.Elements.Add((SwiftDefinitionElement) MT306.U0018U0004);
      MT306.U0012U0004.Elements.Add((SwiftDefinitionElement) MT306.U0016U0004);
      MT306.U0019U0004 = new SwiftTagDefinition("Intermediary2_E_86J", "Intermediary 2");
      MT306.U0019U0004.TagName = ":86J:";
      MT306.U0012U0004.Elements.Add((SwiftDefinitionElement) MT306.U0019U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U0012U0004);
      MT306.U001AU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U001AU0004.Mandatory = false;
      MT306.U001AU0004.Multiple = true;
      MT306.U001BU0004 = new SwiftTagDefinition("Intermediary_E_56A", "Intermediary");
      MT306.U001BU0004.TagName = ":56A:";
      MT306.U001CU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U001CU0004.Mandatory = false;
      MT306.U001BU0004.Elements.Add((SwiftDefinitionElement) MT306.U001CU0004);
      MT306.U001DU0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U001BU0004.Elements.Add((SwiftDefinitionElement) MT306.U001DU0004);
      MT306.U001AU0004.Elements.Add((SwiftDefinitionElement) MT306.U001BU0004);
      MT306.U001EU0004 = new SwiftTagDefinition("Intermediary_E_56D", "Intermediary");
      MT306.U001EU0004.TagName = ":56D:";
      MT306.U001FU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U001FU0004.Mandatory = false;
      MT306.U001EU0004.Elements.Add((SwiftDefinitionElement) MT306.U001FU0004);
      MT306.U007FU0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U001EU0004.Elements.Add((SwiftDefinitionElement) MT306.U007FU0004);
      MT306.U001AU0004.Elements.Add((SwiftDefinitionElement) MT306.U001EU0004);
      MT306.U0080U0004 = new SwiftTagDefinition("Intermediary_E_56J", "Intermediary");
      MT306.U0080U0004.TagName = ":56J:";
      MT306.U001AU0004.Elements.Add((SwiftDefinitionElement) MT306.U0080U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U001AU0004);
      MT306.U0081U0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0081U0004.Multiple = true;
      MT306.U0082U0004 = new SwiftTagDefinition("ReceivingAgent_E_57A", "Receiving Agent");
      MT306.U0082U0004.TagName = ":57A:";
      MT306.U0083U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0083U0004.Mandatory = false;
      MT306.U0082U0004.Elements.Add((SwiftDefinitionElement) MT306.U0083U0004);
      MT306.U0084U0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0082U0004.Elements.Add((SwiftDefinitionElement) MT306.U0084U0004);
      MT306.U0081U0004.Elements.Add((SwiftDefinitionElement) MT306.U0082U0004);
      MT306.U0086U0004 = new SwiftTagDefinition("ReceivingAgent_E_57D", "Receiving Agent");
      MT306.U0086U0004.TagName = ":57D:";
      MT306.U0087U0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0087U0004.Mandatory = false;
      MT306.U0086U0004.Elements.Add((SwiftDefinitionElement) MT306.U0087U0004);
      MT306.U0088U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0086U0004.Elements.Add((SwiftDefinitionElement) MT306.U0088U0004);
      MT306.U0081U0004.Elements.Add((SwiftDefinitionElement) MT306.U0086U0004);
      MT306.U0089U0004 = new SwiftTagDefinition("ReceivingAgent_E_57J", "Receiving Agent");
      MT306.U0089U0004.TagName = ":57J:";
      MT306.U0081U0004.Elements.Add((SwiftDefinitionElement) MT306.U0089U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U0081U0004);
      MT306.U008AU0004 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U008AU0004.Mandatory = false;
      MT306.U008AU0004.Multiple = true;
      MT306.U008BU0004 = new SwiftTagDefinition("BeneficiaryInstitution_E_58A", "Beneficiary Institution");
      MT306.U008BU0004.TagName = ":58A:";
      MT306.U008CU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008CU0004.Mandatory = false;
      MT306.U008BU0004.Elements.Add((SwiftDefinitionElement) MT306.U008CU0004);
      MT306.U008DU0004 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U008BU0004.Elements.Add((SwiftDefinitionElement) MT306.U008DU0004);
      MT306.U008AU0004.Elements.Add((SwiftDefinitionElement) MT306.U008BU0004);
      MT306.U008EU0004 = new SwiftTagDefinition("BeneficiaryInstitution_E_58D", "Beneficiary Institution");
      MT306.U008EU0004.TagName = ":58D:";
      MT306.U008FU0004 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008FU0004.Mandatory = false;
      MT306.U008EU0004.Elements.Add((SwiftDefinitionElement) MT306.U008FU0004);
      MT306.U0090U0004 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U008EU0004.Elements.Add((SwiftDefinitionElement) MT306.U0090U0004);
      MT306.U008AU0004.Elements.Add((SwiftDefinitionElement) MT306.U008EU0004);
      MT306.U0091U0004 = new SwiftTagDefinition("BeneficiaryInstitution_E_58J", "Beneficiary Institution");
      MT306.U0091U0004.TagName = ":58J:";
      MT306.U0092U0004 = new SwiftTagSubItemDefinition("PartyIdentification2", "Party Identification");
      MT306.U0091U0004.Elements.Add((SwiftDefinitionElement) MT306.U0092U0004);
      MT306.U008AU0004.Elements.Add((SwiftDefinitionElement) MT306.U0091U0004);
      MT306.U009CU0003.Elements.Add((SwiftDefinitionElement) MT306.U008AU0004);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U009CU0003);
      MT306.U0093U0004 = new SwiftTagSequenceDefinition("SequenceF", "Barrier Block");
      MT306.U0093U0004.Mandatory = false;
      MT306.U0094U0004 = new SwiftTagDefinition("NewSequence_F_15F", "New Sequence");
      MT306.U0094U0004.TagName = ":15F:";
      MT306.U0095U0004 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U0095U0004.Mandatory = false;
      MT306.U0094U0004.Elements.Add((SwiftDefinitionElement) MT306.U0095U0004);
      MT306.U0093U0004.Elements.Add((SwiftDefinitionElement) MT306.U0094U0004);
      MT306.U0096U0004 = new SwiftTagDefinition("TypeOfBarrier_F_22G", "Type Of Barrier");
      MT306.U0096U0004.TagName = ":22G:";
      MT306.U0097U0004 = new SwiftTagSubItemDefinition("TypeOfBarrier", "Type Of Barrier");
      MT306.U0096U0004.Elements.Add((SwiftDefinitionElement) MT306.U0097U0004);
      MT306.U0093U0004.Elements.Add((SwiftDefinitionElement) MT306.U0096U0004);
      MT306.U0098U0004 = new SwiftTagDefinition("BarrierLevel_F_37J", "Barrier Level");
      MT306.U0098U0004.TagName = ":37J:";
      MT306.U0099U0004 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U0098U0004.Elements.Add((SwiftDefinitionElement) MT306.U0099U0004);
      MT306.U0093U0004.Elements.Add((SwiftDefinitionElement) MT306.U0098U0004);
      MT306.U009AU0004 = new SwiftTagDefinition("LowLevelBarrier_F_37L", "Low Level Barrier");
      MT306.U009AU0004.TagName = ":37L:";
      MT306.U009AU0004.Mandatory = false;
      MT306.U009BU0004 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U009AU0004.Elements.Add((SwiftDefinitionElement) MT306.U009BU0004);
      MT306.U0093U0004.Elements.Add((SwiftDefinitionElement) MT306.U009AU0004);
      MT306.U009CU0004 = new SwiftTagSequenceDefinition("SequenceF1", "BarrierWindowBlock");
      MT306.U009CU0004.Mandatory = false;
      MT306.U009DU0004 = new SwiftTagDefinition("BarrierWindowStartDateAndEndDate_F1_30G", "Barrier Window Start Date and End Date");
      MT306.U009DU0004.TagName = ":30G:";
      MT306.U009EU0004 = new SwiftTagSubItemDefinition("StartDate", "Start Date");
      MT306.U009DU0004.Elements.Add((SwiftDefinitionElement) MT306.U009EU0004);
      MT306.U009FU0004 = new SwiftTagSubItemDefinition("EndDate", "End Date");
      MT306.U009DU0004.Elements.Add((SwiftDefinitionElement) MT306.U009FU0004);
      MT306.U009CU0004.Elements.Add((SwiftDefinitionElement) MT306.U009DU0004);
      MT306.U0001U0005 = new SwiftTagDefinition("LocationAndTimeForStartDate_F1_29J", "Location and Time for Start Date");
      MT306.U0001U0005.TagName = ":29J:";
      MT306.U0002U0005 = new SwiftTagSubItemDefinition("Location", "");
      MT306.U0001U0005.Elements.Add((SwiftDefinitionElement) MT306.U0002U0005);
      MT306.U0003U0005 = new SwiftTagSubItemDefinition("Time", "Time");
      MT306.U0003U0005.Mandatory = false;
      MT306.U0004U0005 = new SwiftTagSubItemDefinition("Time_1", "");
      MT306.U0003U0005.Elements.Add((SwiftDefinitionElement) MT306.U0004U0005);
      MT306.U0001U0005.Elements.Add((SwiftDefinitionElement) MT306.U0003U0005);
      MT306.U009CU0004.Elements.Add((SwiftDefinitionElement) MT306.U0001U0005);
      MT306.U0005U0005 = new SwiftTagDefinition("LocationAndTimeForEndDate_F1_29K", "Location and Time for End Date");
      MT306.U0005U0005.TagName = ":29K:";
      MT306.U0006U0005 = new SwiftTagSubItemDefinition("Location", "Location");
      MT306.U0005U0005.Elements.Add((SwiftDefinitionElement) MT306.U0006U0005);
      MT306.U0007U0005 = new SwiftTagSubItemDefinition("Time", "Time");
      MT306.U0005U0005.Elements.Add((SwiftDefinitionElement) MT306.U0007U0005);
      MT306.U009CU0004.Elements.Add((SwiftDefinitionElement) MT306.U0005U0005);
      MT306.U0093U0004.Elements.Add((SwiftDefinitionElement) MT306.U009CU0004);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0093U0004);
      MT306.U0008U0005 = new SwiftTagSequenceDefinition("SequenceG", "Trigger Block");
      MT306.U0008U0005.Mandatory = false;
      MT306.U000EU0005 = new SwiftTagDefinition("NewSequence_G_15G", "New Sequence");
      MT306.U000EU0005.TagName = ":15G:";
      MT306.U000FU0005 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U000FU0005.Mandatory = false;
      MT306.U000EU0005.Elements.Add((SwiftDefinitionElement) MT306.U000FU0005);
      MT306.U0008U0005.Elements.Add((SwiftDefinitionElement) MT306.U000EU0005);
      MT306.U0010U0005 = new SwiftTagDefinition("TypeOfTrigger_G_22J", "Type Of Trigger");
      MT306.U0010U0005.TagName = ":22J:";
      MT306.U0011U0005 = new SwiftTagSubItemDefinition("TypeOfTrigger", "Type Of Barrier");
      MT306.U0010U0005.Elements.Add((SwiftDefinitionElement) MT306.U0011U0005);
      MT306.U0008U0005.Elements.Add((SwiftDefinitionElement) MT306.U0010U0005);
      MT306.U0012U0005 = new SwiftTagDefinition("TriggerLevel_G_37U", "Trigger Level");
      MT306.U0012U0005.TagName = ":37U:";
      MT306.U0013U0005 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U0012U0005.Elements.Add((SwiftDefinitionElement) MT306.U0013U0005);
      MT306.U0008U0005.Elements.Add((SwiftDefinitionElement) MT306.U0012U0005);
      MT306.U0014U0005 = new SwiftTagDefinition("LowTriggerLevel_G_37P", "Low Trigger Level");
      MT306.U0014U0005.TagName = ":37P:";
      MT306.U0014U0005.Mandatory = false;
      MT306.U0015U0005 = new SwiftTagSubItemDefinition("Rate", "Rate");
      MT306.U0014U0005.Elements.Add((SwiftDefinitionElement) MT306.U0015U0005);
      MT306.U0008U0005.Elements.Add((SwiftDefinitionElement) MT306.U0014U0005);
      MT306.U0016U0005 = new SwiftTagDefinition("CurrencyPair_G_32Q", "Currency Pair");
      MT306.U0016U0005.TagName = ":32Q:";
      MT306.U0017U0005 = new SwiftTagSubItemDefinition("Currency1", "Currency");
      MT306.U0016U0005.Elements.Add((SwiftDefinitionElement) MT306.U0017U0005);
      MT306.U0018U0005 = new SwiftTagSubItemDefinition("Currency2", "Currency");
      MT306.U0016U0005.Elements.Add((SwiftDefinitionElement) MT306.U0018U0005);
      MT306.U0008U0005.Elements.Add((SwiftDefinitionElement) MT306.U0016U0005);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0008U0005);
      MT306.U0019U0005 = new SwiftTagSequenceDefinition("SequenceH", "Non Deliverable Option Block");
      MT306.U0019U0005.Mandatory = false;
      MT306.U001AU0005 = new SwiftTagDefinition("NewSequence_H_15H", "New Sequence");
      MT306.U001AU0005.TagName = ":15H:";
      MT306.U001BU0005 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U001BU0005.Mandatory = false;
      MT306.U001AU0005.Elements.Add((SwiftDefinitionElement) MT306.U001BU0005);
      MT306.U0019U0005.Elements.Add((SwiftDefinitionElement) MT306.U001AU0005);
      MT306.U001CU0005 = new SwiftTagDefinition("SettlementRateSource_H_14S", "Settlement Rate Source");
      MT306.U001CU0005.TagName = ":14S:";
      MT306.U001DU0005 = new SwiftTagSubItemDefinition("RateSource", "Rate Source");
      MT306.U001CU0005.Elements.Add((SwiftDefinitionElement) MT306.U001DU0005);
      MT306.U0019U0005.Elements.Add((SwiftDefinitionElement) MT306.U001CU0005);
      MT306.U001EU0005 = new SwiftTagDefinition("SettlementCurrency_H_32E", "Settlement Currency");
      MT306.U001EU0005.TagName = ":32E:";
      MT306.U001FU0005 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U001EU0005.Elements.Add((SwiftDefinitionElement) MT306.U001FU0005);
      MT306.U0019U0005.Elements.Add((SwiftDefinitionElement) MT306.U001EU0005);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U0019U0005);
      MT306.U007FU0005 = new SwiftTagSequenceDefinition("SequenceI", "Additional Information");
      MT306.U007FU0005.Mandatory = false;
      MT306.U0080U0005 = new SwiftTagDefinition("NewSequence_I_15I", "New Sequence");
      MT306.U0080U0005.TagName = ":15I:";
      MT306.U0081U0005 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U0081U0005.Mandatory = false;
      MT306.U0080U0005.Elements.Add((SwiftDefinitionElement) MT306.U0081U0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0080U0005);
      MT306.U0082U0005 = new SwiftTagDefinition("ContactInformation_I_29A", "Contact Information");
      MT306.U0082U0005.TagName = ":29A:";
      MT306.U0082U0005.Mandatory = false;
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0082U0005);
      MT306.U0083U0005 = new SwiftTagDefinition("DealingMethod_I_24D", "Dealing Method");
      MT306.U0083U0005.TagName = ":24D:";
      MT306.U0083U0005.Mandatory = false;
      MT306.U0084U0005 = new SwiftTagSubItemDefinition("Code", "Code");
      MT306.U0083U0005.Elements.Add((SwiftDefinitionElement) MT306.U0084U0005);
      MT306.U0086U0005 = new SwiftTagSubItemDefinition("AdditionalInformation", "Additional Information");
      MT306.U0086U0005.Mandatory = false;
      MT306.U0087U0005 = new SwiftTagSubItemDefinition("AdditionalInformation_1", "Additional Information");
      MT306.U0086U0005.Elements.Add((SwiftDefinitionElement) MT306.U0087U0005);
      MT306.U0083U0005.Elements.Add((SwiftDefinitionElement) MT306.U0086U0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0083U0005);
      MT306.U0088U0005 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0088U0005.Mandatory = false;
      MT306.U0088U0005.Multiple = true;
      MT306.U0089U0005 = new SwiftTagDefinition("BrokerIdentification_I_88A", "Broker Identification");
      MT306.U0089U0005.TagName = ":88A:";
      MT306.U008AU0005 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008AU0005.Mandatory = false;
      MT306.U0089U0005.Elements.Add((SwiftDefinitionElement) MT306.U008AU0005);
      MT306.U008BU0005 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0089U0005.Elements.Add((SwiftDefinitionElement) MT306.U008BU0005);
      MT306.U0088U0005.Elements.Add((SwiftDefinitionElement) MT306.U0089U0005);
      MT306.U008CU0005 = new SwiftTagDefinition("BrokerIdentification_I_88D", "Broker Identification");
      MT306.U008CU0005.TagName = ":88D:";
      MT306.U008DU0005 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U008DU0005.Mandatory = false;
      MT306.U008CU0005.Elements.Add((SwiftDefinitionElement) MT306.U008DU0005);
      MT306.U008EU0005 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U008CU0005.Elements.Add((SwiftDefinitionElement) MT306.U008EU0005);
      MT306.U0088U0005.Elements.Add((SwiftDefinitionElement) MT306.U008CU0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0088U0005);
      MT306.U008FU0005 = new SwiftTagDefinition("BrokersCommission_I_71F", "Broker’s Commission");
      MT306.U008FU0005.TagName = ":71F:";
      MT306.U008FU0005.Mandatory = false;
      MT306.U0090U0005 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT306.U008FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0090U0005);
      MT306.U0091U0005 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT306.U008FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0091U0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U008FU0005);
      MT306.U0092U0005 = new SwiftTagDefinition("BrokersReference_I_21G", "Broker’s Reference");
      MT306.U0092U0005.TagName = ":21G:";
      MT306.U0092U0005.Mandatory = false;
      MT306.U0093U0005 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT306.U0092U0005.Elements.Add((SwiftDefinitionElement) MT306.U0093U0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0092U0005);
      MT306.U0094U0005 = new SwiftTagDefinition("SenderToReceiverInformation_I_72", "Sender To Receiver Information");
      MT306.U0094U0005.TagName = ":72:";
      MT306.U0094U0005.Mandatory = false;
      MT306.U0095U0005 = new SwiftTagSubItemDefinition("Line1", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x]");
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U0095U0005);
      MT306.U0096U0005 = new SwiftTagSubItemDefinition("Line2", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT306.U0096U0005.Mandatory = false;
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U0096U0005);
      MT306.U0097U0005 = new SwiftTagSubItemDefinition("Line3", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT306.U0097U0005.Mandatory = false;
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U0097U0005);
      MT306.U0098U0005 = new SwiftTagSubItemDefinition("Line4", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT306.U0098U0005.Mandatory = false;
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U0098U0005);
      MT306.U0099U0005 = new SwiftTagSubItemDefinition("Line5", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT306.U0099U0005.Mandatory = false;
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U0099U0005);
      MT306.U009AU0005 = new SwiftTagSubItemDefinition("Line6", "Line with a maximum of 35 SWIFT characters having format as /8c/[25x] or [//33x]");
      MT306.U009AU0005.Mandatory = false;
      MT306.U0094U0005.Elements.Add((SwiftDefinitionElement) MT306.U009AU0005);
      MT306.U007FU0005.Elements.Add((SwiftDefinitionElement) MT306.U0094U0005);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U007FU0005);
      MT306.U009BU0005 = new SwiftTagSequenceDefinition("SequenceJ", "Additional Amounts");
      MT306.U009BU0005.Mandatory = false;
      MT306.U009CU0005 = new SwiftTagDefinition("NewSequence_J_15J", "New Sequence");
      MT306.U009CU0005.TagName = ":15J:";
      MT306.U009DU0005 = new SwiftTagSubItemDefinition("NewSequence", "New Sequence");
      MT306.U009DU0005.Mandatory = false;
      MT306.U009CU0005.Elements.Add((SwiftDefinitionElement) MT306.U009DU0005);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U009CU0005);
      MT306.U009EU0005 = new SwiftTagDefinition("NumberofRepetitions_J_18A", "Number of Repetitions");
      MT306.U009EU0005.TagName = ":18A:";
      MT306.U009FU0005 = new SwiftTagSubItemDefinition("Number", "Number");
      MT306.U009EU0005.Elements.Add((SwiftDefinitionElement) MT306.U009FU0005);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U009EU0005);
      MT306.U0001U0006 = new SwiftTagSequenceDefinition("Sequence", "Payment Date");
      MT306.U0001U0006.Multiple = true;
      MT306.U0002U0006 = new SwiftTagDefinition("PaymentDate_J_30F", "Payment Date");
      MT306.U0002U0006.TagName = ":30F:";
      MT306.U0003U0006 = new SwiftTagSubItemDefinition("Date", "Date");
      MT306.U0002U0006.Elements.Add((SwiftDefinitionElement) MT306.U0003U0006);
      MT306.U0001U0006.Elements.Add((SwiftDefinitionElement) MT306.U0002U0006);
      MT306.U0004U0006 = new SwiftTagDefinition("CurrencyPaymentAmount_J_32H", "Currency, Payment Amount ");
      MT306.U0004U0006.TagName = ":32H:";
      MT306.U0005U0006 = new SwiftTagSubItemDefinition("SignCodeAmount", "Sign Currency And Amount");
      MT306.U0004U0006.Elements.Add((SwiftDefinitionElement) MT306.U0005U0006);
      MT306.U0001U0006.Elements.Add((SwiftDefinitionElement) MT306.U0004U0006);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U0001U0006);
      MT306.U0006U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0006U0006.Mandatory = false;
      MT306.U0006U0006.Multiple = true;
      MT306.U0007U0006 = new SwiftTagDefinition("DeliveryAgent_J_53A", "Delivery Agent");
      MT306.U0007U0006.TagName = ":53A:";
      MT306.U0008U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0008U0006.Mandatory = false;
      MT306.U0007U0006.Elements.Add((SwiftDefinitionElement) MT306.U0008U0006);
      MT306.U000EU0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0007U0006.Elements.Add((SwiftDefinitionElement) MT306.U000EU0006);
      MT306.U0006U0006.Elements.Add((SwiftDefinitionElement) MT306.U0007U0006);
      MT306.U000FU0006 = new SwiftTagDefinition("DeliveryAgent_J_53D", "Delivery Agent");
      MT306.U000FU0006.TagName = ":53D:";
      MT306.U0010U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0010U0006.Mandatory = false;
      MT306.U000FU0006.Elements.Add((SwiftDefinitionElement) MT306.U0010U0006);
      MT306.U0011U0006 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U000FU0006.Elements.Add((SwiftDefinitionElement) MT306.U0011U0006);
      MT306.U0006U0006.Elements.Add((SwiftDefinitionElement) MT306.U000FU0006);
      MT306.U0012U0006 = new SwiftTagDefinition("DeliveryAgent_J_53J", "Delivery Agent");
      MT306.U0012U0006.TagName = ":53J:";
      MT306.U0006U0006.Elements.Add((SwiftDefinitionElement) MT306.U0012U0006);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U0006U0006);
      MT306.U0013U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0013U0006.Mandatory = false;
      MT306.U0013U0006.Multiple = true;
      MT306.U0014U0006 = new SwiftTagDefinition("Intermediary2_J_86A", "Intermediary 2");
      MT306.U0014U0006.TagName = ":86A:";
      MT306.U0015U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0015U0006.Mandatory = false;
      MT306.U0014U0006.Elements.Add((SwiftDefinitionElement) MT306.U0015U0006);
      MT306.U0016U0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0014U0006.Elements.Add((SwiftDefinitionElement) MT306.U0016U0006);
      MT306.U0013U0006.Elements.Add((SwiftDefinitionElement) MT306.U0014U0006);
      MT306.U0017U0006 = new SwiftTagDefinition("Intermediary2_J_86D", "Intermediary 2");
      MT306.U0017U0006.TagName = ":86D:";
      MT306.U0018U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0018U0006.Mandatory = false;
      MT306.U0017U0006.Elements.Add((SwiftDefinitionElement) MT306.U0018U0006);
      MT306.U0019U0006 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0017U0006.Elements.Add((SwiftDefinitionElement) MT306.U0019U0006);
      MT306.U0013U0006.Elements.Add((SwiftDefinitionElement) MT306.U0017U0006);
      MT306.U001AU0006 = new SwiftTagDefinition("Intermediary2_J_86J", "Intermediary 2");
      MT306.U001AU0006.TagName = ":86J:";
      MT306.U0013U0006.Elements.Add((SwiftDefinitionElement) MT306.U001AU0006);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U0013U0006);
      MT306.U001BU0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U001BU0006.Mandatory = false;
      MT306.U001BU0006.Multiple = true;
      MT306.U001CU0006 = new SwiftTagDefinition("Intermediary_J_56A", "Intermediary");
      MT306.U001CU0006.TagName = ":56A:";
      MT306.U001DU0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U001DU0006.Mandatory = false;
      MT306.U001CU0006.Elements.Add((SwiftDefinitionElement) MT306.U001DU0006);
      MT306.U001EU0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U001CU0006.Elements.Add((SwiftDefinitionElement) MT306.U001EU0006);
      MT306.U001BU0006.Elements.Add((SwiftDefinitionElement) MT306.U001CU0006);
      MT306.U001FU0006 = new SwiftTagDefinition("Intermediary_J_56D", "Intermediary");
      MT306.U001FU0006.TagName = ":56D:";
      MT306.U007FU0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U007FU0006.Mandatory = false;
      MT306.U001FU0006.Elements.Add((SwiftDefinitionElement) MT306.U007FU0006);
      MT306.U0080U0006 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U001FU0006.Elements.Add((SwiftDefinitionElement) MT306.U0080U0006);
      MT306.U001BU0006.Elements.Add((SwiftDefinitionElement) MT306.U001FU0006);
      MT306.U0081U0006 = new SwiftTagDefinition("Intermediary_J_56J", "Intermediary");
      MT306.U0081U0006.TagName = ":56J:";
      MT306.U001BU0006.Elements.Add((SwiftDefinitionElement) MT306.U0081U0006);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U001BU0006);
      MT306.U0082U0006 = new SwiftTagChoiceDefinition("Choice", "");
      MT306.U0082U0006.Multiple = true;
      MT306.U0083U0006 = new SwiftTagDefinition("ReceivingAgent_J_57A", "Receiving Agent");
      MT306.U0083U0006.TagName = ":57A:";
      MT306.U0084U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0084U0006.Mandatory = false;
      MT306.U0083U0006.Elements.Add((SwiftDefinitionElement) MT306.U0084U0006);
      MT306.U0086U0006 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT306.U0083U0006.Elements.Add((SwiftDefinitionElement) MT306.U0086U0006);
      MT306.U0082U0006.Elements.Add((SwiftDefinitionElement) MT306.U0083U0006);
      MT306.U0087U0006 = new SwiftTagDefinition("ReceivingAgent_J_57D", "Receiving Agent");
      MT306.U0087U0006.TagName = ":57D:";
      MT306.U0088U0006 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT306.U0088U0006.Mandatory = false;
      MT306.U0087U0006.Elements.Add((SwiftDefinitionElement) MT306.U0088U0006);
      MT306.U0089U0006 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT306.U0087U0006.Elements.Add((SwiftDefinitionElement) MT306.U0089U0006);
      MT306.U0082U0006.Elements.Add((SwiftDefinitionElement) MT306.U0087U0006);
      MT306.U008AU0006 = new SwiftTagDefinition("ReceivingAgent_J_57J", "Receiving Agent");
      MT306.U008AU0006.TagName = ":57J:";
      MT306.U0082U0006.Elements.Add((SwiftDefinitionElement) MT306.U008AU0006);
      MT306.U009BU0005.Elements.Add((SwiftDefinitionElement) MT306.U0082U0006);
      MT306.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT306.U009BU0005);
    }

    public class SequenceAClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15A NewSequence_A_15A
      {
        get
        {
          return new Tag15A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0003);
        }
      }

      [Description("New Sequence")]
      public Tag15A Tag15A_NewSequence_A
      {
        get
        {
          return this.NewSequence_A_15A;
        }
      }

      [Description("Senders Reference")]
      public Tag20 SendersReference_A_20
      {
        get
        {
          return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0005);
        }
      }

      [Description("Senders Reference")]
      public Tag20 Tag20_SendersReference_A
      {
        get
        {
          return this.SendersReference_A_20;
        }
      }

      [Description("Related Reference")]
      public Tag21 RelatedReference_A_21
      {
        get
        {
          return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0007);
        }
      }

      [Description("Related Reference")]
      public Tag21 Tag21_RelatedReference_A
      {
        get
        {
          return this.RelatedReference_A_21;
        }
      }

      [Description("Type of Operation")]
      public Tag22A TypeOfOperation_A_22A
      {
        get
        {
          return new Tag22A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000E);
        }
      }

      [Description("Type of Operation")]
      public Tag22A Tag22A_TypeOfOperation_A
      {
        get
        {
          return this.TypeOfOperation_A_22A;
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A ScopeOfOperation_A_94A
      {
        get
        {
          return new Tag94A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0010);
        }
      }

      [Description("Scope Of Operation")]
      public Tag94A Tag94A_ScopeOfOperation_A
      {
        get
        {
          return this.ScopeOfOperation_A_94A;
        }
      }

      [Description("Common Reference")]
      public Tag22C CommonReference_A_22C
      {
        get
        {
          return new Tag22C((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0012);
        }
      }

      [Description("Common Reference")]
      public Tag22C Tag22C_CommonReference_A
      {
        get
        {
          return this.CommonReference_A_22C;
        }
      }

      [Description("Contract Number Party A")]
      public Tag21N ContractNumberPartyA_A_21N
      {
        get
        {
          return new Tag21N((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0013);
        }
      }

      [Description("Contract Number Party A")]
      public Tag21N Tag21N_ContractNumberPartyA_A
      {
        get
        {
          return this.ContractNumberPartyA_A_21N;
        }
      }

      [Description("Contract Number Party B")]
      public Tag21B ContractNumberPartyB_A_21B
      {
        get
        {
          return new Tag21B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0015);
        }
      }

      [Description("Contract Number Party B")]
      public Tag21B Tag21B_ContractNumberPartyB_A
      {
        get
        {
          return this.ContractNumberPartyB_A_21B;
        }
      }

      [Description("Option Style")]
      public Tag12F OptionStyle_A_12F
      {
        get
        {
          return new Tag12F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0017);
        }
      }

      [Description("Option Style")]
      public Tag12F Tag12F_OptionStyle_A
      {
        get
        {
          return this.OptionStyle_A_12F;
        }
      }

      [Description("Expiration Style")]
      public Tag12E ExpirationStyle_A_12E
      {
        get
        {
          return new Tag12E((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0019);
        }
      }

      [Description("Expiration Style")]
      public Tag12E Tag12E_ExpirationStyle_A
      {
        get
        {
          return this.ExpirationStyle_A_12E;
        }
      }

      [Description("Barrier Indicator")]
      public MT306.SequenceAClass.Tag17A BarrierIndicator_A_17A
      {
        get
        {
          return new MT306.SequenceAClass.Tag17A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001B);
        }
      }

      [Description("Barrier Indicator")]
      public MT306.SequenceAClass.Tag17A Tag17A_BarrierIndicator_A
      {
        get
        {
          return this.BarrierIndicator_A_17A;
        }
      }

      [Description("Non Deliverable Indicator ")]
      public MT306.SequenceAClass.Tag17F NonDeliverableIndicator_A_17F
      {
        get
        {
          return new MT306.SequenceAClass.Tag17F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001D);
        }
      }

      [Description("Non Deliverable Indicator ")]
      public MT306.SequenceAClass.Tag17F Tag17F_NonDeliverableIndicator_A
      {
        get
        {
          return this.NonDeliverableIndicator_A_17F;
        }
      }

      [Description("Type Of Event")]
      public Tag22K TypeOfEvent_A_22K
      {
        get
        {
          return new Tag22K((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001F);
        }
      }

      [Description("Type Of Event")]
      public Tag22K Tag22K_TypeOfEvent_A
      {
        get
        {
          return this.TypeOfEvent_A_22K;
        }
      }

      [Description("Date Of Trigger Hit")]
      public Tag30U DateOfTriggerHit_A_30U
      {
        get
        {
          return new Tag30U((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0082);
        }
      }

      [Description("Date Of Trigger Hit")]
      public Tag30U Tag30U_DateOfTriggerHit_A
      {
        get
        {
          return this.DateOfTriggerHit_A_30U;
        }
      }

      [Description("Location Of Trigger Hit")]
      public Tag29H LocationOfTriggerHit_A_29H
      {
        get
        {
          return new Tag29H((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0084);
        }
      }

      [Description("Location Of Trigger Hit")]
      public Tag29H Tag29H_LocationOfTriggerHit_A
      {
        get
        {
          return this.LocationOfTriggerHit_A_29H;
        }
      }

      [Description("Party A")]
      public Tag82A PartyA_A_82A
      {
        get
        {
          return new Tag82A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0088);
        }
      }

      [Description("Party A")]
      public Tag82A Tag82A_PartyA_A
      {
        get
        {
          return this.PartyA_A_82A;
        }
      }

      [Description("Party A")]
      public Tag82D PartyA_A_82D
      {
        get
        {
          return new Tag82D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008B);
        }
      }

      [Description("Party A")]
      public Tag82D Tag82D_PartyA_A
      {
        get
        {
          return this.PartyA_A_82D;
        }
      }

      [Description("Party A")]
      public Tag82J PartyA_A_82J
      {
        get
        {
          return new Tag82J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008E);
        }
      }

      [Description("Party A")]
      public Tag82J Tag82J_PartyA_A
      {
        get
        {
          return this.PartyA_A_82J;
        }
      }

      [Description("Party B")]
      public Tag87A PartyB_A_87A
      {
        get
        {
          return new Tag87A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0091);
        }
      }

      [Description("Party B")]
      public Tag87A Tag87A_PartyB_A
      {
        get
        {
          return this.PartyB_A_87A;
        }
      }

      [Description("Party B")]
      public Tag87D PartyB_A_87D
      {
        get
        {
          return new Tag87D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0094);
        }
      }

      [Description("Party B")]
      public Tag87D Tag87D_PartyB_A
      {
        get
        {
          return this.PartyB_A_87D;
        }
      }

      [Description("Party B")]
      public Tag87J PartyB_A_87J
      {
        get
        {
          return new Tag87J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0097);
        }
      }

      [Description("Party B")]
      public Tag87J Tag87J_PartyB_A
      {
        get
        {
          return this.PartyB_A_87J;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83A FundOrBeneficiaryCustomer_A_83A
      {
        get
        {
          return new Tag83A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009A);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83A Tag83A_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83A;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83D FundOrBeneficiaryCustomer_A_83D
      {
        get
        {
          return new Tag83D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009D);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83D Tag83D_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83D;
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83J FundOrBeneficiaryCustomer_A_83J
      {
        get
        {
          return new Tag83J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0001U0002);
        }
      }

      [Description("Fund or Beneficiary Customer")]
      public Tag83J Tag83J_FundOrBeneficiaryCustomer_A
      {
        get
        {
          return this.FundOrBeneficiaryCustomer_A_83J;
        }
      }

      [Description("Type, Date, Version Of The Agreement")]
      public Tag77H TypeDateVersionOfTheAgreement_A_77H
      {
        get
        {
          return new Tag77H((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0003U0002);
        }
      }

      [Description("Type, Date, Version Of The Agreement")]
      public Tag77H Tag77H_TypeDateVersionOfTheAgreement_A
      {
        get
        {
          return this.TypeDateVersionOfTheAgreement_A_77H;
        }
      }

      [Description("Additional Conditions")]
      public Tag77D AdditionalConditions_A_77D
      {
        get
        {
          return new Tag77D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000FU0002);
        }
      }

      [Description("Additional Conditions")]
      public Tag77D Tag77D_AdditionalConditions_A
      {
        get
        {
          return this.AdditionalConditions_A_77D;
        }
      }

      [Description("Year Of Definitions")]
      public MT306.SequenceAClass.Tag14C YearOfDefinitions_A_14C
      {
        get
        {
          return new MT306.SequenceAClass.Tag14C((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0010U0002);
        }
      }

      [Description("Year Of Definitions")]
      public MT306.SequenceAClass.Tag14C Tag14C_YearOfDefinitions_A
      {
        get
        {
          return this.YearOfDefinitions_A_14C;
        }
      }

      internal SequenceAClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public class Tag17A : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("17A", value);
          }
        }

        internal Tag17A(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag17F : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("17F", value);
          }
        }

        internal Tag17F(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }

      public class Tag14C : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("14C", value);
          }
        }

        internal Tag14C(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceBClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0012U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15B NewSequence_B_15B
      {
        get
        {
          return new Tag15B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0013U0002);
        }
      }

      [Description("New Sequence")]
      public Tag15B Tag15B_NewSequence_B
      {
        get
        {
          return this.NewSequence_B_15B;
        }
      }

      [Description("Buy (Sell) Indicator")]
      public Tag17V BuySellIndicator_B_17V
      {
        get
        {
          return new Tag17V((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0015U0002);
        }
      }

      [Description("Buy (Sell) Indicator")]
      public Tag17V Tag17V_BuySellIndicator_B
      {
        get
        {
          return this.BuySellIndicator_B_17V;
        }
      }

      [Description("Trade Date")]
      public Tag30T TradeDate_B_30T
      {
        get
        {
          return new Tag30T((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0017U0002);
        }
      }

      [Description("Trade Date")]
      public Tag30T Tag30T_TradeDate_B
      {
        get
        {
          return this.TradeDate_B_30T;
        }
      }

      [Description("Expiration Date")]
      public Tag30X ExpirationDate_B_30X
      {
        get
        {
          return new Tag30X((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0019U0002);
        }
      }

      [Description("Expiration Date")]
      public Tag30X Tag30X_ExpirationDate_B
      {
        get
        {
          return this.ExpirationDate_B_30X;
        }
      }

      [Description("Expiration Location And Time")]
      public Tag29E ExpirationLocationAndTime_B_29E
      {
        get
        {
          return new Tag29E((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001BU0002);
        }
      }

      [Description("Expiration Location And Time")]
      public Tag29E Tag29E_ExpirationLocationAndTime_B
      {
        get
        {
          return this.ExpirationLocationAndTime_B_29E;
        }
      }

      [Description("Final Settlement Date")]
      public Tag30F FinalSettlementDate_B_30F
      {
        get
        {
          return new Tag30F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001FU0002);
        }
      }

      [Description("Final Settlement Date")]
      public Tag30F Tag30F_FinalSettlementDate_B
      {
        get
        {
          return this.FinalSettlementDate_B_30F;
        }
      }

      [Description("Final Settlement Date")]
      public Tag30J FinalSettlementDate_B_30J
      {
        get
        {
          return new Tag30J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0080U0002);
        }
      }

      [Description("Final Settlement Date")]
      public Tag30J Tag30J_FinalSettlementDate_B
      {
        get
        {
          return this.FinalSettlementDate_B_30J;
        }
      }

      [Description("Settlement Instructions for Payment of Premium")]
      public MT306.SequenceBClass.SequenceB1Class SequenceB1
      {
        get
        {
          MT306.SequenceBClass.SequenceB1Class sequenceB1Class = new MT306.SequenceBClass.SequenceB1Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceB1Class).Count > 0)
            return sequenceB1Class;
          else
            return (MT306.SequenceBClass.SequenceB1Class) null;
        }
      }

      [Description("Settlement Instructions for Payment of Premium")]
      public MT306.SequenceBClass.SequenceB2Class SequenceB2
      {
        get
        {
          return new MT306.SequenceBClass.SequenceB2Class((SwiftElement) this, 0, false);
        }
      }

      internal SequenceBClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT306.SequenceBClass.SequenceB1Class AddSequenceB1()
      {
        return this.SequenceB1 ?? new MT306.SequenceBClass.SequenceB1Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceB1(MT306.SequenceBClass.SequenceB1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceB1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT306.U0082U0002;
          }
        }

        [Description("Premium Price")]
        public Tag37K PremiumPrice_B1_37K
        {
          get
          {
            return new Tag37K((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0083U0002);
          }
        }

        [Description("Premium Price")]
        public Tag37K Tag37K_PremiumPrice_B1
        {
          get
          {
            return this.PremiumPrice_B1_37K;
          }
        }

        [Description("Premium Payment Date")]
        public Tag30V PremiumPaymentDate_B1_30V
        {
          get
          {
            return new Tag30V((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0087U0002);
          }
        }

        [Description("Premium Payment Date")]
        public Tag30V Tag30V_PremiumPaymentDate_B1
        {
          get
          {
            return this.PremiumPaymentDate_B1_30V;
          }
        }

        [Description("Premium Currency And Amount")]
        public Tag34B PremiumCurrencyAndAmount_B1_34B
        {
          get
          {
            return new Tag34B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0089U0002);
          }
        }

        [Description("Premium Currency And Amount")]
        public Tag34B Tag34B_PremiumCurrencyAndAmount_B1
        {
          get
          {
            return this.PremiumCurrencyAndAmount_B1_34B;
          }
        }

        internal SequenceB1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }

      public class SequenceB2Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT306.U008CU0002;
          }
        }

        [Description("Calculation Agent")]
        public Tag84A CalculationAgent_B2_84A
        {
          get
          {
            return new Tag84A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008EU0002);
          }
        }

        [Description("Calculation Agent")]
        public Tag84A Tag84A_CalculationAgent_B2
        {
          get
          {
            return this.CalculationAgent_B2_84A;
          }
        }

        [Description("Calculation Agent")]
        public Tag84B CalculationAgent_B2_84B
        {
          get
          {
            return new Tag84B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0091U0002);
          }
        }

        [Description("Calculation Agent")]
        public Tag84B Tag84B_CalculationAgent_B2
        {
          get
          {
            return this.CalculationAgent_B2_84B;
          }
        }

        [Description("Calculation Agent")]
        public Tag84D CalculationAgent_B2_84D
        {
          get
          {
            return new Tag84D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0094U0002);
          }
        }

        [Description("Calculation Agent")]
        public Tag84D Tag84D_CalculationAgent_B2
        {
          get
          {
            return this.CalculationAgent_B2_84D;
          }
        }

        [Description("Calculation Agent")]
        public Tag84J CalculationAgent_B2_84J
        {
          get
          {
            return new Tag84J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0097U0002);
          }
        }

        [Description("Calculation Agent")]
        public Tag84J Tag84J_CalculationAgent_B2
        {
          get
          {
            return this.CalculationAgent_B2_84J;
          }
        }

        internal SequenceB2Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceCClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0099U0002;
        }
      }

      [Description("New Sequence")]
      public Tag15C NewSequence_C_15C
      {
        get
        {
          return new Tag15C((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009AU0002);
        }
      }

      [Description("New Sequence")]
      public Tag15C Tag15C_NewSequence_C
      {
        get
        {
          return this.NewSequence_C_15C;
        }
      }

      [Description("Delivery Agent")]
      public Tag53A DeliveryAgent_C_53A
      {
        get
        {
          return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009DU0002);
        }
      }

      [Description("Delivery Agent")]
      public Tag53A Tag53A_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53A;
        }
      }

      [Description("Delivery Agent")]
      public Tag53D DeliveryAgent_C_53D
      {
        get
        {
          return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0001U0003);
        }
      }

      [Description("Delivery Agent")]
      public Tag53D Tag53D_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53D;
        }
      }

      [Description("Delivery Agent")]
      public Tag53J DeliveryAgent_C_53J
      {
        get
        {
          return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0004U0003);
        }
      }

      [Description("Delivery Agent")]
      public Tag53J Tag53J_DeliveryAgent_C
      {
        get
        {
          return this.DeliveryAgent_C_53J;
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Intermediary2_C_86A
      {
        get
        {
          return new Tag86A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0006U0003);
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Tag86A_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86A;
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Intermediary2_C_86D
      {
        get
        {
          return new Tag86D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000EU0003);
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Tag86D_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86D;
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Intermediary2_C_86J
      {
        get
        {
          return new Tag86J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0011U0003);
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Tag86J_Intermediary2_C
      {
        get
        {
          return this.Intermediary2_C_86J;
        }
      }

      [Description("Intermediary")]
      public Tag56A Intermediary_C_56A
      {
        get
        {
          return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0013U0003);
        }
      }

      [Description("Intermediary")]
      public Tag56A Tag56A_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56A;
        }
      }

      [Description("Intermediary")]
      public Tag56D Intermediary_C_56D
      {
        get
        {
          return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0016U0003);
        }
      }

      [Description("Intermediary")]
      public Tag56D Tag56D_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56D;
        }
      }

      [Description("Intermediary")]
      public Tag56J Intermediary_C_56J
      {
        get
        {
          return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0019U0003);
        }
      }

      [Description("Intermediary")]
      public Tag56J Tag56J_Intermediary_C
      {
        get
        {
          return this.Intermediary_C_56J;
        }
      }

      [Description("Receiving Agent")]
      public Tag57A ReceivingAgent_C_57A
      {
        get
        {
          return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001BU0003);
        }
      }

      [Description("Receiving Agent")]
      public Tag57A Tag57A_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57A;
        }
      }

      [Description("Receiving Agent")]
      public Tag57D ReceivingAgent_C_57D
      {
        get
        {
          return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001EU0003);
        }
      }

      [Description("Receiving Agent")]
      public Tag57D Tag57D_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57D;
        }
      }

      [Description("Receiving Agent")]
      public Tag57J ReceivingAgent_C_57J
      {
        get
        {
          return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0080U0003);
        }
      }

      [Description("Receiving Agent")]
      public Tag57J Tag57J_ReceivingAgent_C
      {
        get
        {
          return this.ReceivingAgent_C_57J;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A BeneficiaryInstitution_C_58A
      {
        get
        {
          return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0082U0003);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A Tag58A_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58A;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D BeneficiaryInstitution_C_58D
      {
        get
        {
          return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0086U0003);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D Tag58D_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58D;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J BeneficiaryInstitution_C_58J
      {
        get
        {
          return new Tag58J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0089U0003);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J Tag58J_BeneficiaryInstitution_C
      {
        get
        {
          return this.BeneficiaryInstitution_C_58J;
        }
      }

      internal SequenceCClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceDClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U008BU0003;
        }
      }

      [Description("New Sequence")]
      public Tag15D NewSequence_D_15D
      {
        get
        {
          return new Tag15D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008CU0003);
        }
      }

      [Description("New Sequence")]
      public Tag15D Tag15D_NewSequence_D
      {
        get
        {
          return this.NewSequence_D_15D;
        }
      }

      [Description("Earliest Exercise Date")]
      public Tag30P EarliestExerciseDate_D_30P
      {
        get
        {
          return new Tag30P((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008EU0003);
        }
      }

      [Description("Earliest Exercise Date")]
      public Tag30P Tag30P_EarliestExerciseDate_D
      {
        get
        {
          return this.EarliestExerciseDate_D_30P;
        }
      }

      [Description("Intermediate Exercise Date")]
      public Tag30Q[] IntermediateExerciseDate_D_30Q
      {
        get
        {
          int index = -1;
          List<Tag30Q> list = new List<Tag30Q>();
          int count;
          do
          {
            ++index;
            Tag30Q tag30Q = new Tag30Q((SwiftElement) this, index, (SwiftDefinitionElement) MT306.U0090U0003);
            count = this.ListTags((SwiftElement) tag30Q).Count;
            if (count > 0)
              list.Add(tag30Q);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Intermediate Exercise Date")]
      public Tag30Q[] Tag30Q_IntermediateExerciseDate_D
      {
        get
        {
          return this.IntermediateExerciseDate_D_30Q;
        }
      }

      [Description("Settlement Type")]
      public MT306.SequenceDClass.Tag26F SettlementType_D_26F
      {
        get
        {
          return new MT306.SequenceDClass.Tag26F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0092U0003);
        }
      }

      [Description("Settlement Type")]
      public MT306.SequenceDClass.Tag26F Tag26F_SettlementType_D
      {
        get
        {
          return this.SettlementType_D_26F;
        }
      }

      [Description("Put Currency and Amount")]
      public Tag32B PutCurrencyAndAmount_D_32B
      {
        get
        {
          return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0094U0003);
        }
      }

      [Description("Put Currency and Amount")]
      public Tag32B Tag32B_PutCurrencyAndAmount_D
      {
        get
        {
          return this.PutCurrencyAndAmount_D_32B;
        }
      }

      [Description("Strike Price")]
      public Tag36 StrikePrice_D_36
      {
        get
        {
          return new Tag36((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0097U0003);
        }
      }

      [Description("Strike Price")]
      public Tag36 Tag36_StrikePrice_D
      {
        get
        {
          return this.StrikePrice_D_36;
        }
      }

      [Description("Call Currency and Amount")]
      public Tag33B CallCurrencyAndAmount_D_33B
      {
        get
        {
          return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0099U0003);
        }
      }

      [Description("Call Currency and Amount")]
      public Tag33B Tag33B_CallCurrencyAndAmount_D
      {
        get
        {
          return this.CallCurrencyAndAmount_D_33B;
        }
      }

      internal SequenceDClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public Tag30Q AddIntermediateExerciseDate_D_30Q()
      {
        return new Tag30Q((SwiftElement) this, this.IntermediateExerciseDate_D_30Q.Length, (SwiftDefinitionElement) MT306.U0090U0003)
        {
          Value = string.Empty
        };
      }

      public void RemoveIntermediateExerciseDate_D_30Q(Tag30Q tag)
      {
        this.RemoveTag(tag.GetTag());
      }

      public class Tag26F : SwiftTagWrapper
      {
        public string Value
        {
          get
          {
            return this.GetValue();
          }
          set
          {
            this.SetValue("26F", value);
          }
        }

        internal Tag26F(SwiftElement parent, int index, SwiftDefinitionElement definition)
          : base(parent, index, definition)
        {
        }
      }
    }

    public class SequenceEClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U009CU0003;
        }
      }

      [Description("New Sequence")]
      public Tag15E NewSequence_E_15E
      {
        get
        {
          return new Tag15E((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009DU0003);
        }
      }

      [Description("New Sequence")]
      public Tag15E Tag15E_NewSequence_E
      {
        get
        {
          return this.NewSequence_E_15E;
        }
      }

      [Description("Currency, Amount")]
      public Tag33E CurrencyAmount_E_33E
      {
        get
        {
          return new Tag33E((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009FU0003);
        }
      }

      [Description("Currency, Amount")]
      public Tag33E Tag33E_CurrencyAmount_E
      {
        get
        {
          return this.CurrencyAmount_E_33E;
        }
      }

      [Description("Touch Payment Date")]
      public Tag30H TouchPaymentDate_E_30H
      {
        get
        {
          return new Tag30H((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0003U0004);
        }
      }

      [Description("Touch Payment Date")]
      public Tag30H Tag30H_TouchPaymentDate_E
      {
        get
        {
          return this.TouchPaymentDate_E_30H;
        }
      }

      [Description("Delivery Agent")]
      public Tag53A DeliveryAgent_E_53A
      {
        get
        {
          return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0006U0004);
        }
      }

      [Description("Delivery Agent")]
      public Tag53A Tag53A_DeliveryAgent_E
      {
        get
        {
          return this.DeliveryAgent_E_53A;
        }
      }

      [Description("Delivery Agent")]
      public Tag53D DeliveryAgent_E_53D
      {
        get
        {
          return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000EU0004);
        }
      }

      [Description("Delivery Agent")]
      public Tag53D Tag53D_DeliveryAgent_E
      {
        get
        {
          return this.DeliveryAgent_E_53D;
        }
      }

      [Description("Delivery Agent")]
      public Tag53J DeliveryAgent_E_53J
      {
        get
        {
          return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0011U0004);
        }
      }

      [Description("Delivery Agent")]
      public Tag53J Tag53J_DeliveryAgent_E
      {
        get
        {
          return this.DeliveryAgent_E_53J;
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Intermediary2_E_86A
      {
        get
        {
          return new Tag86A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0013U0004);
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Tag86A_Intermediary2_E
      {
        get
        {
          return this.Intermediary2_E_86A;
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Intermediary2_E_86D
      {
        get
        {
          return new Tag86D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0016U0004);
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Tag86D_Intermediary2_E
      {
        get
        {
          return this.Intermediary2_E_86D;
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Intermediary2_E_86J
      {
        get
        {
          return new Tag86J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0019U0004);
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Tag86J_Intermediary2_E
      {
        get
        {
          return this.Intermediary2_E_86J;
        }
      }

      [Description("Intermediary")]
      public Tag56A Intermediary_E_56A
      {
        get
        {
          return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001BU0004);
        }
      }

      [Description("Intermediary")]
      public Tag56A Tag56A_Intermediary_E
      {
        get
        {
          return this.Intermediary_E_56A;
        }
      }

      [Description("Intermediary")]
      public Tag56D Intermediary_E_56D
      {
        get
        {
          return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001EU0004);
        }
      }

      [Description("Intermediary")]
      public Tag56D Tag56D_Intermediary_E
      {
        get
        {
          return this.Intermediary_E_56D;
        }
      }

      [Description("Intermediary")]
      public Tag56J Intermediary_E_56J
      {
        get
        {
          return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0080U0004);
        }
      }

      [Description("Intermediary")]
      public Tag56J Tag56J_Intermediary_E
      {
        get
        {
          return this.Intermediary_E_56J;
        }
      }

      [Description("Receiving Agent")]
      public Tag57A ReceivingAgent_E_57A
      {
        get
        {
          return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0082U0004);
        }
      }

      [Description("Receiving Agent")]
      public Tag57A Tag57A_ReceivingAgent_E
      {
        get
        {
          return this.ReceivingAgent_E_57A;
        }
      }

      [Description("Receiving Agent")]
      public Tag57D ReceivingAgent_E_57D
      {
        get
        {
          return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0086U0004);
        }
      }

      [Description("Receiving Agent")]
      public Tag57D Tag57D_ReceivingAgent_E
      {
        get
        {
          return this.ReceivingAgent_E_57D;
        }
      }

      [Description("Receiving Agent")]
      public Tag57J ReceivingAgent_E_57J
      {
        get
        {
          return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0089U0004);
        }
      }

      [Description("Receiving Agent")]
      public Tag57J Tag57J_ReceivingAgent_E
      {
        get
        {
          return this.ReceivingAgent_E_57J;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A BeneficiaryInstitution_E_58A
      {
        get
        {
          return new Tag58A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008BU0004);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58A Tag58A_BeneficiaryInstitution_E
      {
        get
        {
          return this.BeneficiaryInstitution_E_58A;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D BeneficiaryInstitution_E_58D
      {
        get
        {
          return new Tag58D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008EU0004);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58D Tag58D_BeneficiaryInstitution_E
      {
        get
        {
          return this.BeneficiaryInstitution_E_58D;
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J BeneficiaryInstitution_E_58J
      {
        get
        {
          return new Tag58J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0091U0004);
        }
      }

      [Description("Beneficiary Institution")]
      public Tag58J Tag58J_BeneficiaryInstitution_E
      {
        get
        {
          return this.BeneficiaryInstitution_E_58J;
        }
      }

      internal SequenceEClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceFClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0093U0004;
        }
      }

      [Description("New Sequence")]
      public Tag15F NewSequence_F_15F
      {
        get
        {
          return new Tag15F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0094U0004);
        }
      }

      [Description("New Sequence")]
      public Tag15F Tag15F_NewSequence_F
      {
        get
        {
          return this.NewSequence_F_15F;
        }
      }

      [Description("Type Of Barrier")]
      public Tag22G TypeOfBarrier_F_22G
      {
        get
        {
          return new Tag22G((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0096U0004);
        }
      }

      [Description("Type Of Barrier")]
      public Tag22G Tag22G_TypeOfBarrier_F
      {
        get
        {
          return this.TypeOfBarrier_F_22G;
        }
      }

      [Description("Barrier Level")]
      public Tag37J BarrierLevel_F_37J
      {
        get
        {
          return new Tag37J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0098U0004);
        }
      }

      [Description("Barrier Level")]
      public Tag37J Tag37J_BarrierLevel_F
      {
        get
        {
          return this.BarrierLevel_F_37J;
        }
      }

      [Description("Low Level Barrier")]
      public Tag37L LowLevelBarrier_F_37L
      {
        get
        {
          return new Tag37L((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009AU0004);
        }
      }

      [Description("Low Level Barrier")]
      public Tag37L Tag37L_LowLevelBarrier_F
      {
        get
        {
          return this.LowLevelBarrier_F_37L;
        }
      }

      [Description("BarrierWindowBlock")]
      public MT306.SequenceFClass.SequenceF1Class SequenceF1
      {
        get
        {
          MT306.SequenceFClass.SequenceF1Class sequenceF1Class = new MT306.SequenceFClass.SequenceF1Class((SwiftElement) this, 0, false);
          if (this.ListTags((SwiftElement) sequenceF1Class).Count > 0)
            return sequenceF1Class;
          else
            return (MT306.SequenceFClass.SequenceF1Class) null;
        }
      }

      internal SequenceFClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT306.SequenceFClass.SequenceF1Class AddSequenceF1()
      {
        return this.SequenceF1 ?? new MT306.SequenceFClass.SequenceF1Class((SwiftElement) this, 0, true);
      }

      public void RemoveSequenceF1(MT306.SequenceFClass.SequenceF1Class sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceF1Class : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT306.U009CU0004;
          }
        }

        [Description("Barrier Window Start Date and End Date")]
        public Tag30G BarrierWindowStartDateAndEndDate_F1_30G
        {
          get
          {
            return new Tag30G((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009DU0004);
          }
        }

        [Description("Barrier Window Start Date and End Date")]
        public Tag30G Tag30G_BarrierWindowStartDateAndEndDate_F1
        {
          get
          {
            return this.BarrierWindowStartDateAndEndDate_F1_30G;
          }
        }

        [Description("Location and Time for Start Date")]
        public Tag29J LocationAndTimeForStartDate_F1_29J
        {
          get
          {
            return new Tag29J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0001U0005);
          }
        }

        [Description("Location and Time for Start Date")]
        public Tag29J Tag29J_LocationAndTimeForStartDate_F1
        {
          get
          {
            return this.LocationAndTimeForStartDate_F1_29J;
          }
        }

        [Description("Location and Time for End Date")]
        public Tag29K LocationAndTimeForEndDate_F1_29K
        {
          get
          {
            return new Tag29K((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0005U0005);
          }
        }

        [Description("Location and Time for End Date")]
        public Tag29K Tag29K_LocationAndTimeForEndDate_F1
        {
          get
          {
            return this.LocationAndTimeForEndDate_F1_29K;
          }
        }

        internal SequenceF1Class(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }

    public class SequenceGClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0008U0005;
        }
      }

      [Description("New Sequence")]
      public Tag15G NewSequence_G_15G
      {
        get
        {
          return new Tag15G((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000EU0005);
        }
      }

      [Description("New Sequence")]
      public Tag15G Tag15G_NewSequence_G
      {
        get
        {
          return this.NewSequence_G_15G;
        }
      }

      [Description("Type Of Trigger")]
      public Tag22J TypeOfTrigger_G_22J
      {
        get
        {
          return new Tag22J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0010U0005);
        }
      }

      [Description("Type Of Trigger")]
      public Tag22J Tag22J_TypeOfTrigger_G
      {
        get
        {
          return this.TypeOfTrigger_G_22J;
        }
      }

      [Description("Trigger Level")]
      public Tag37U TriggerLevel_G_37U
      {
        get
        {
          return new Tag37U((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0012U0005);
        }
      }

      [Description("Trigger Level")]
      public Tag37U Tag37U_TriggerLevel_G
      {
        get
        {
          return this.TriggerLevel_G_37U;
        }
      }

      [Description("Low Trigger Level")]
      public Tag37P LowTriggerLevel_G_37P
      {
        get
        {
          return new Tag37P((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0014U0005);
        }
      }

      [Description("Low Trigger Level")]
      public Tag37P Tag37P_LowTriggerLevel_G
      {
        get
        {
          return this.LowTriggerLevel_G_37P;
        }
      }

      [Description("Currency Pair")]
      public Tag32Q CurrencyPair_G_32Q
      {
        get
        {
          return new Tag32Q((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0016U0005);
        }
      }

      [Description("Currency Pair")]
      public Tag32Q Tag32Q_CurrencyPair_G
      {
        get
        {
          return this.CurrencyPair_G_32Q;
        }
      }

      internal SequenceGClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceHClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U0019U0005;
        }
      }

      [Description("New Sequence")]
      public Tag15H NewSequence_H_15H
      {
        get
        {
          return new Tag15H((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001AU0005);
        }
      }

      [Description("New Sequence")]
      public Tag15H Tag15H_NewSequence_H
      {
        get
        {
          return this.NewSequence_H_15H;
        }
      }

      [Description("Settlement Rate Source")]
      public Tag14S SettlementRateSource_H_14S
      {
        get
        {
          return new Tag14S((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001CU0005);
        }
      }

      [Description("Settlement Rate Source")]
      public Tag14S Tag14S_SettlementRateSource_H
      {
        get
        {
          return this.SettlementRateSource_H_14S;
        }
      }

      [Description("Settlement Currency")]
      public Tag32E SettlementCurrency_H_32E
      {
        get
        {
          return new Tag32E((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001EU0005);
        }
      }

      [Description("Settlement Currency")]
      public Tag32E Tag32E_SettlementCurrency_H
      {
        get
        {
          return this.SettlementCurrency_H_32E;
        }
      }

      internal SequenceHClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceIClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U007FU0005;
        }
      }

      [Description("New Sequence")]
      public Tag15I NewSequence_I_15I
      {
        get
        {
          return new Tag15I((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0080U0005);
        }
      }

      [Description("New Sequence")]
      public Tag15I Tag15I_NewSequence_I
      {
        get
        {
          return this.NewSequence_I_15I;
        }
      }

      [Description("Contact Information")]
      public Tag29A ContactInformation_I_29A
      {
        get
        {
          return new Tag29A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0082U0005);
        }
      }

      [Description("Contact Information")]
      public Tag29A Tag29A_ContactInformation_I
      {
        get
        {
          return this.ContactInformation_I_29A;
        }
      }

      [Description("Dealing Method")]
      public Tag24D DealingMethod_I_24D
      {
        get
        {
          return new Tag24D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0083U0005);
        }
      }

      [Description("Dealing Method")]
      public Tag24D Tag24D_DealingMethod_I
      {
        get
        {
          return this.DealingMethod_I_24D;
        }
      }

      [Description("Broker Identification")]
      public Tag88A BrokerIdentification_I_88A
      {
        get
        {
          return new Tag88A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0089U0005);
        }
      }

      [Description("Broker Identification")]
      public Tag88A Tag88A_BrokerIdentification_I
      {
        get
        {
          return this.BrokerIdentification_I_88A;
        }
      }

      [Description("Broker Identification")]
      public Tag88D BrokerIdentification_I_88D
      {
        get
        {
          return new Tag88D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008CU0005);
        }
      }

      [Description("Broker Identification")]
      public Tag88D Tag88D_BrokerIdentification_I
      {
        get
        {
          return this.BrokerIdentification_I_88D;
        }
      }

      [Description("Broker’s Commission")]
      public Tag71F BrokersCommission_I_71F
      {
        get
        {
          return new Tag71F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008FU0005);
        }
      }

      [Description("Broker’s Commission")]
      public Tag71F Tag71F_BrokersCommission_I
      {
        get
        {
          return this.BrokersCommission_I_71F;
        }
      }

      [Description("Broker’s Reference")]
      public Tag21G BrokersReference_I_21G
      {
        get
        {
          return new Tag21G((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0092U0005);
        }
      }

      [Description("Broker’s Reference")]
      public Tag21G Tag21G_BrokersReference_I
      {
        get
        {
          return this.BrokersReference_I_21G;
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 SenderToReceiverInformation_I_72
      {
        get
        {
          return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0094U0005);
        }
      }

      [Description("Sender To Receiver Information")]
      public Tag72 Tag72_SenderToReceiverInformation_I
      {
        get
        {
          return this.SenderToReceiverInformation_I_72;
        }
      }

      internal SequenceIClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }
    }

    public class SequenceJClass : SwiftTagSequence
    {
      internal override SwiftDefinitionElement Definition
      {
        get
        {
          return (SwiftDefinitionElement) MT306.U009BU0005;
        }
      }

      [Description("New Sequence")]
      public Tag15J NewSequence_J_15J
      {
        get
        {
          return new Tag15J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009CU0005);
        }
      }

      [Description("New Sequence")]
      public Tag15J Tag15J_NewSequence_J
      {
        get
        {
          return this.NewSequence_J_15J;
        }
      }

      [Description("Number of Repetitions")]
      public Tag18A NumberofRepetitions_J_18A
      {
        get
        {
          return new Tag18A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U009EU0005);
        }
      }

      [Description("Number of Repetitions")]
      public Tag18A Tag18A_NumberofRepetitions_J
      {
        get
        {
          return this.NumberofRepetitions_J_18A;
        }
      }

      [Description("Payment Date")]
      public MT306.SequenceJClass.SequenceClass[] Sequence
      {
        get
        {
          int index = -1;
          List<MT306.SequenceJClass.SequenceClass> list = new List<MT306.SequenceJClass.SequenceClass>();
          int count;
          do
          {
            ++index;
            MT306.SequenceJClass.SequenceClass sequenceClass = new MT306.SequenceJClass.SequenceClass((SwiftElement) this, index, false);
            count = this.ListTags((SwiftElement) sequenceClass).Count;
            if (count > 0)
              list.Add(sequenceClass);
          }
          while (count > 0);
          return list.ToArray();
        }
      }

      [Description("Delivery Agent")]
      public Tag53A DeliveryAgent_J_53A
      {
        get
        {
          return new Tag53A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0007U0006);
        }
      }

      [Description("Delivery Agent")]
      public Tag53A Tag53A_DeliveryAgent_J
      {
        get
        {
          return this.DeliveryAgent_J_53A;
        }
      }

      [Description("Delivery Agent")]
      public Tag53D DeliveryAgent_J_53D
      {
        get
        {
          return new Tag53D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U000FU0006);
        }
      }

      [Description("Delivery Agent")]
      public Tag53D Tag53D_DeliveryAgent_J
      {
        get
        {
          return this.DeliveryAgent_J_53D;
        }
      }

      [Description("Delivery Agent")]
      public Tag53J DeliveryAgent_J_53J
      {
        get
        {
          return new Tag53J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0012U0006);
        }
      }

      [Description("Delivery Agent")]
      public Tag53J Tag53J_DeliveryAgent_J
      {
        get
        {
          return this.DeliveryAgent_J_53J;
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Intermediary2_J_86A
      {
        get
        {
          return new Tag86A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0014U0006);
        }
      }

      [Description("Intermediary 2")]
      public Tag86A Tag86A_Intermediary2_J
      {
        get
        {
          return this.Intermediary2_J_86A;
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Intermediary2_J_86D
      {
        get
        {
          return new Tag86D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0017U0006);
        }
      }

      [Description("Intermediary 2")]
      public Tag86D Tag86D_Intermediary2_J
      {
        get
        {
          return this.Intermediary2_J_86D;
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Intermediary2_J_86J
      {
        get
        {
          return new Tag86J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001AU0006);
        }
      }

      [Description("Intermediary 2")]
      public Tag86J Tag86J_Intermediary2_J
      {
        get
        {
          return this.Intermediary2_J_86J;
        }
      }

      [Description("Intermediary")]
      public Tag56A Intermediary_J_56A
      {
        get
        {
          return new Tag56A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001CU0006);
        }
      }

      [Description("Intermediary")]
      public Tag56A Tag56A_Intermediary_J
      {
        get
        {
          return this.Intermediary_J_56A;
        }
      }

      [Description("Intermediary")]
      public Tag56D Intermediary_J_56D
      {
        get
        {
          return new Tag56D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U001FU0006);
        }
      }

      [Description("Intermediary")]
      public Tag56D Tag56D_Intermediary_J
      {
        get
        {
          return this.Intermediary_J_56D;
        }
      }

      [Description("Intermediary")]
      public Tag56J Intermediary_J_56J
      {
        get
        {
          return new Tag56J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0081U0006);
        }
      }

      [Description("Intermediary")]
      public Tag56J Tag56J_Intermediary_J
      {
        get
        {
          return this.Intermediary_J_56J;
        }
      }

      [Description("Receiving Agent")]
      public Tag57A ReceivingAgent_J_57A
      {
        get
        {
          return new Tag57A((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0083U0006);
        }
      }

      [Description("Receiving Agent")]
      public Tag57A Tag57A_ReceivingAgent_J
      {
        get
        {
          return this.ReceivingAgent_J_57A;
        }
      }

      [Description("Receiving Agent")]
      public Tag57D ReceivingAgent_J_57D
      {
        get
        {
          return new Tag57D((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0087U0006);
        }
      }

      [Description("Receiving Agent")]
      public Tag57D Tag57D_ReceivingAgent_J
      {
        get
        {
          return this.ReceivingAgent_J_57D;
        }
      }

      [Description("Receiving Agent")]
      public Tag57J ReceivingAgent_J_57J
      {
        get
        {
          return new Tag57J((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U008AU0006);
        }
      }

      [Description("Receiving Agent")]
      public Tag57J Tag57J_ReceivingAgent_J
      {
        get
        {
          return this.ReceivingAgent_J_57J;
        }
      }

      internal SequenceJClass(SwiftElement parent, int index, bool createTags)
        : base(parent, index, createTags)
      {
      }

      public MT306.SequenceJClass.SequenceClass AddSequence()
      {
        return new MT306.SequenceJClass.SequenceClass((SwiftElement) this, this.Sequence.Length, true);
      }

      public void RemoveSequence(MT306.SequenceJClass.SequenceClass sequence)
      {
        foreach (SwiftTag tag in this.ListTags((SwiftElement) sequence))
          this.RemoveTag(tag);
      }

      public class SequenceClass : SwiftTagSequence
      {
        internal override SwiftDefinitionElement Definition
        {
          get
          {
            return (SwiftDefinitionElement) MT306.U0001U0006;
          }
        }

        [Description("Payment Date")]
        public Tag30F PaymentDate_J_30F
        {
          get
          {
            return new Tag30F((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0002U0006);
          }
        }

        [Description("Payment Date")]
        public Tag30F Tag30F_PaymentDate_J
        {
          get
          {
            return this.PaymentDate_J_30F;
          }
        }

        [Description("Currency, Payment Amount ")]
        public Tag32H CurrencyPaymentAmount_J_32H
        {
          get
          {
            return new Tag32H((SwiftElement) this, 0, (SwiftDefinitionElement) MT306.U0004U0006);
          }
        }

        [Description("Currency, Payment Amount ")]
        public Tag32H Tag32H_CurrencyPaymentAmount_J
        {
          get
          {
            return this.CurrencyPaymentAmount_J_32H;
          }
        }

        internal SequenceClass(SwiftElement parent, int index, bool createTags)
          : base(parent, index, createTags)
        {
        }
      }
    }
  }
}
